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 the pair remained strained, and Rudd was replaced as Foreign Minister in February 2012 following his failed bid for the leadership of the Labor Party. Former New South Wales Premier Bob Carr was selected to join the Senate in place of the retiring Mark Arbib and joined Cabinet as the new Minister for Foreign Affairs. During her first major international tour as Prime Minister, Julia Gillard told ABC TV's "": For his part, Kevin Rudd was an active Foreign Affairs Minister. Following the 2011 Egyptian revolution and resignation of Egyptian president Hosni Mubarak, Rudd called for "constitutional reform and a