Whitlam was defeated for a second time by Fraser at the next election in 1977, and resigned from parliament shortly after that. From then until his death in 2014 then he continued to be a very public figure, writing books and often commenting on political affairs.