Julia Gillard took effect the following day, upon the swearing in of Rudd, and she made her final appearance in the House of Representatives shortly thereafter. Her parliamentary service ended at the dissolution of the Parliament on 5 August. By the conclusion of her tenure, Gillard overtook Gough Whitlam as the 14th longest–serving Prime Minister of Australia, having served in the position for three full years. She also became the longest–serving Prime Minister since John Howard's electoral loss in 2007; a record which has not been exceeded by successive Prime Ministers Rudd, Abbott, Malcolm Turnbull, or , current Prime Minister Scott Morrison.
Julia Gillard Employment and Workplace Relations and Minister for Social Inclusion. On , after Rudd lost the support of his party and resigned, Gillard was elected unopposed as his replacement, thus becoming prime minister. The subsequent 2010 federal election saw the first hung parliament since 1940. Gillard was able to form a minority government with the support of a Green MP and three independents. On 26 June 2013, after a leadership spill, Gillard lost the leadership of the Labor Party back to Rudd. Her resignation as prime minister took effect the following day. Gillard retired from politics on 5 August 2013, before