Gillard Government occur on the morning of 24 June 2010, with the candidates being himself and Deputy Prime Minister Julia Gillard. This followed weeks of speculation that senior members of the ALP were beginning to lose confidence in Rudd and would back Gillard in replacing him if necessary. By the eve of the election, it was obvious that Rudd didn't have enough support to remain ALP leader and Prime Minister. Rudd withdrew his candidacy and resigned as party leader, leaving Gillard to take the leadership unopposed. Gillard was then sworn in as Australia's 27th Prime Minister by Governor-General Quentin Bryce and became
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