The Liberal leadership ballot was rescheduled for 9 January 1968. As it turned out, McMahon did not stand, and Senator John Gorton was elected, replacing McEwen as prime minister on 10 January 1968. McEwen reverted to his previous status as the second-ranking member of the government, as per the Coalition agreement. He had unofficially been deputy prime minister since becoming Country Party leader in 1958, and since 1966 had exercised an effective veto over government policy by virtue of being the longest-serving member of the government; he had been a member of the Coalition frontbench without interruption since 1937. To acknowledge McEwen's long service and his status as the second-ranking member of the government, Gorton formally created the post of Deputy Prime Minister, with McEwen as the first holder of the post.