On her first 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.