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 Portugal residence of the Prime Minister, not all incumbents have lived in the mansion during their term in office. António Costa, current Prime Minister, doesn't live in the residence. As of , there are eight living former Prime Ministers of Portugal, as seen below. The most recent Prime Minister to die was Mário Alberto Nobre Lopes Soares (served 1976–1978 and 1983–1985), on 7 January 2017 aged 92. Prime Minister of Portugal Prime Minister (Portuguese: "Primeiro-Ministro"; ) is the current title of the head of government of Portugal. As head of government, the Prime Minister coordinates the actions of ministers, represents the