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 put her in office". On 21 January 2012, Wilkie announced that he was withdrawing his support for the Gillard Government after it broke the agreement he had signed with Gillard to implement mandatory pre-commitment for all poker machines by 2014. He stated that he would support the government's alternative plan to trial pre-commitment in the ACT and require that pre-commitment technology be installed in all poker machines built from 2013, but that this fell short of what he had been promised in return for supporting the government. In response, Gillard and Minister for Families, Housing, Community Services and Indigenous Affairs