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.
Gillard Government the pair remained strained, and Rudd was replaced as Foreign Minister in February 2012 following his failed bid for the leadership of the Labor Party. Former New South Wales Premier Bob Carr was selected to join the Senate in place of the retiring Mark Arbib and joined Cabinet as the new Minister for Foreign Affairs. During her first major international tour as Prime Minister, Julia Gillard told ABC TV's "": For his part, Kevin Rudd was an active Foreign Affairs Minister. Following the 2011 Egyptian revolution and resignation of Egyptian president Hosni Mubarak, Rudd called for "constitutional reform and a