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
Gillard Government Plibersek and Stephen Smith were more circumspect, but supported Gillard. Labor Senator Doug Cameron and Immigration Minister Chris Bowen came out in support of Rudd and called on their colleagues to show him respect. Labor Ministers Robert McClelland and Martin Ferguson also declared for Rudd, saying Gillard could not win against Tony Abbott. In an emotional address, Minister Anthony Albanese announced that he had offered his resignation as Leader of the House of Representatives and would be supporting Rudd because he believed the manner in which he had been replaced in 2010 was wrong. Prime Minister Gillard refused to accept