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
Prime Minister of Australia The Lodge as their primary residence because of its security facilities and close proximity to Parliament House. There have been some exceptions, however. James Scullin preferred to live at the Hotel Canberra (now the Hyatt Hotel) and Ben Chifley lived in the Hotel Kurrajong. More recently, John Howard used the Sydney Prime Ministerial residence, Kirribilli House, as his primary accommodation. On her appointment on 24 June 2010, Julia Gillard said she would not be living in The Lodge until such time as she was returned to office by popular vote at the next general election, as she became Prime Minister