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 Employment and Workplace Relations and Minister for Social Inclusion. On , after Rudd lost the support of his party and resigned, Gillard was elected unopposed as his replacement, thus becoming prime minister. The subsequent 2010 federal election saw the first hung parliament since 1940. Gillard was able to form a minority government with the support of a Green MP and three independents. On 26 June 2013, after a leadership spill, Gillard lost the leadership of the Labor Party back to Rudd. Her resignation as prime minister took effect the following day. Gillard retired from politics on 5 August 2013, before