The Morrison government was the federal executive government of Australia, led by Prime Minister Scott Morrison of the Liberal Party of Australia, between 2018 and 2022. The Morrison government commenced on 24 August 2018, when it was sworn in by the Governor-General of Australia. It was composed of members of the Liberal–National Coalition and succeeded the Abbott (2013–2015) and Turnbull (2015–2018) coalition governments in office, competing against the Australian Labor Party as the major Opposition party. Nationals Leader Michael McCormack was Deputy Prime Minister of Australia from the formation of the Morrison government until June 2021. He was replaced as Leader of the Nationals and Deputy Prime Minister by Barnaby Joyce. Scott Morrison was Treasurer in the Turnbull government and became Prime Minister following the resignation of Malcolm Turnbull in 2018. The Coalition had been led to government at the 2013 Election by Tony Abbott, however Malcolm Turnbull became Prime Minister by challenging Abbott in 2015. Turnbull then led the Coalition to a narrow victory at the 2016 Election, and resigned in the midst of a challenge to his leadership by Minister for Home Affairs Peter Dutton in 2018. Turnbull then quit Parliament, plunging the Coalition into minority government following the 2018 Wentworth by-election. Elected leader of the Liberals over Dutton in the 2018 spill, Morrison then restored the Coalition to majority government at the 2019 Election. With the commencement of the Morrison government, Josh Frydenberg replaced Julie Bishop as the Deputy Leader of the Liberal Party and replaced Morrison as Treasurer in the First Morrison Ministry, while Marise Payne took over from Bishop as Foreign Minister. Frydenberg and Payne remained in their posts in the Second Morrison Ministry, which was notable for including Ken Wyatt as Minister for Indigenous Australians - the first Aboriginal Australian to sit in Federal Cabinet - and seven women members, which was the largest number of women Cabinet members in Australian history.