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 February 2012. Rudd told the media "I can only serve as Foreign Minister if I have the confidence of Prime Minister Gillard and her senior ministers" after Gillard failed to repudiate cabinet ministers who publicly criticised Rudd and his tenure as Prime Minister. The situation had been further exacerbated by the revelation on "Four Corners" that Gillard's staff wrote her victory speech for the 2010 leadership election two weeks prior to her challenge, contradicting Gillard's earlier claims that she had only resolved to challenge Rudd the day before the vote. This revelation caused particular conflict between Labor factions to surface,