William McMahon became Prime Minister and Gorton became Defence Minister from March to August, 1971. But Gorton wrote articles for the newspapers about his time in office - headed: "I did it my way" - and McMahon got him to resign. After Gough Whitlam's Labor Party won in 1972, Liberal leader Billy Snedden made Gorton the Opposition Spokesman for the Environment. Gorton then supported abortion and got Parliament to say that homosexuality should be legal.