Julia Gillard day as prime minister, Gillard reassured US president Barack Obama of Australia's continuing support for the military campaign in Afghanistan, which was then in its ninth year of operation. She visited Afghanistan on 2 October 2010, meeting with members of the Australian Defence Force in Tarinkot, and President Hamid Karzai in Kabul. The visit marked her first foreign trip as prime minister. Following the visit, A parliamentary debate was conducted for four sitting weeks of parliament in November 2010, with the agreement between Gillard and Abbott that it would be necessary for Australian soldiers to stay in Afghanistan and prevent
Julia Gillard day. Ten minutes before the ballot was due to occur, Rudd publicly announced that he would not contest the leadership, in line with the commitment he had made following the 2012 contest. As such, Gillard and Wayne Swan were the only candidates for the Leadership and Deputy Leadership of the Labor Party, and were elected unopposed. This marked the first time in history that an incumbent Labor Leader was elected unopposed at a leadership ballot. Several ministers subsequently resigned from the government, including Chief Government Whip Joel Fitzgibbon, Human Services Minister Kim Carr, and Energy Minister Martin Ferguson. Gillard declared