Gillard became the leader of the Australian Labor Party on 24 June 2010 when Kevin Rudd resigned. She had been Deputy Prime Minister under Kevin Rudd. On 11 December 2007, Rudd went to the United Nations Climate Change Conference in Bali. Gillard became the first woman in Australia's history to take on the prime-ministerial role as the acting prime minister.