The Whitlam government was the federal executive government of Australia led by Prime Minister Gough Whitlam of the Australian Labor Party. The government commenced when Labor defeated the McMahon Government at the 1972 federal election, ending a record 23 years of continuous Coalition government. It was terminated by Governor-General Sir John Kerr following the 1975 constitutional crisis and was succeeded by the Fraser Government—the sole occasion in Australian history when an elected federal government was dismissed by the head of state.