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 challenges, and it's Julia who has seen through fixing a lot of those problems." On 17 July 2010, 23 days after becoming prime minister and after receiving the agreement of the Governor-General Quentin Bryce, Gillard announced the next federal election would be held on 21 August 2010. Gillard began campaigning with a speech utilising the slogan "moving forward". In the early stages of the campaign, a series of leaks were released by purported Labor Party sources, indicating apparent divisions within Cabinet over the replacement of Kevin Rudd by Gillard. Midway through the campaign, Gillard offered journalists a self-assessment of her