 He defeated Lionel Bowen to succeed Whitlam as Leader of the Opposition at the end of the year, following Labor's defeat at the 1977 election.Hayden led the party to the 1980 election, recording a substantial swing but falling well short of victory.He was replaced by Bob Hawke just a few weeks before the 1983 election, after months of speculation.