 Nevertheless, Gorton declared that a tie vote meant he no longer had the confidence of the party, and voluntarily resigned the leadership.McMahon was then elected leader (and thus prime minister), and Gorton was elected deputy leader.McMahon came into office at a bad time for the Coalition, which was increasingly seen as tired and unfocused after 22 years in power.