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 leadership, telling the media that the Rudd Government had entered a "period of paralysis" and that Rudd's work patterns were "difficult and chaotic". Upon her election by the Labor Party, Gillard said that she wouldn't move into The Lodge until she was elected Prime Minister in her own right, instead choosing to divide her time between a flat in Canberra and her home in Altona, a western suburb of Melbourne. Gillard moved into The Lodge on 26 September 2010. As well as being the first female Prime Minister, and the first never to have married, Gillard is the first Prime