Julia Gillard continued to differ as to the extent of Gillard's foreknowledge and planning of the replacement of Rudd. Rudd initially said that he would challenge Gillard, but it soon became apparent that he did not have enough support within the party to survive in his position. Hours before the vote on 24 June, he resigned as Prime Minister and Leader of the Labor Party, leaving Gillard to assume the leadership unopposed. Treasurer Wayne Swan was at the same time elected unopposed to succeed Gillard as Deputy Leader. Shortly afterward, Gillard was sworn in as the 27th Prime Minister of Australia by
Julia Gillard Rudd make the same commitment. At the leadership ballot, Gillard won comfortably by a vote of 71 to 31. Despite Gillard's defeating Kevin Rudd comfortably in the 2012 leadership spill, tensions remained in the Labor Party regarding Gillard's leadership. After Labor's polling position worsened in the wake of Gillard announcing the date of the 2013 election, these tensions came to a head when former Labor Leader and Regional Minister Simon Crean called for a leadership spill and backed Rudd on 21 March 2013. In response, Gillard sacked Crean from his position, and called a leadership spill for 4.30pm that same