Parker to the Energy and Climate Change portfolios and to the Land Information portfolio on 2 May 2006. (The Attorney-General portfolio remained with Michael Cullen, and Annette King took over Parker's former Transport portfolio.) In July 2007 Clark appointed Parker as the acting Minister for the Environment following the resignation of David Benson-Pope. Opposition Following Labour's defeat in the 2008 general election, Parker became the Opposition spokesperson on Conservation, ACC and Shadow Attorney-General. On 15 June 2010, Opposition Leader Phil Goff appointed Parker to be Portfolio Spokesperson for Economic Development, a position formerly held by Shane Jones, and shifted the portfolio of Conservation to Chris Carter. Parker ran for the party leadership in 2011, but withdrew part-way through the contest to support David Shearer's bid. Parker then became the Labour spokesperson for Finance and the shadow Attorney-General (from February 2013). From 17 September 2013, Parker was the deputy leader of the Labour Party. He retained his finance portfolio. Following the poor performance of the Labour Party in the 2014 general election, and the eventual resignation of David Cunliffe as leader, Parker was appointed interim leader of the Labour Party. He then unsuccessfully ran in the 2014 Labour Party leadership election and he came third in the leadership election behind Andrew Little and Grant Robertson. Little offered for Parker to continue as finance spokesperson, but Parker declined. Instead, Parker was assigned a range of portfolios including shadow attorney-general and spokesperson for trade and export growth, the environment and, after the resignations of former leaders Goff and Shearer, foreign affairs. Sixth Labour Government During the 2017 general election, Parker was re-elected on the Labour Party list. Following the formation of the Labour-led coalition government, he was sworn in as Attorney-General, Minister for Economic Development, Minister for the Environment, and Minister for Trade and Export Growth. He also became Associate Minister of Finance. In a June 2019 reshuffle, the economic development portfolio was reassigned to Phil Twyford. Prime Minister Jacinda Ardern said this was so that Parker could focus more on water quality and trade negotiations with the European Union and United Kingdom. As Environment Minister, Parker has launched a "comprehensive overhaul" of the Resource Management Act 1991. During the 2020 general election, Parker was re-elected on the Labour Party list. On 2 November, he was appointed as Attorney-General, Minister for the Environment, Minister for Oceans and Fisheries, Minister of Revenue and Associate