Question: The South Shield by-election in 2013 was triggered by the resignation of which British Labour Party politician? 
Context: Peter Gerald Hain, Baron Hain, PC (born 16 February 1950) is a British Labour Party politician, who was the Member of Parliament (MP) for Neath between 1991 and 2015, and served in the Cabinets of both Tony Blair and Gordon Brown.  He was the Leader of the House of Commons from 2003 to 2005 and Secretary of State for Northern Ireland from 2005 to 2007 under Blair, and as Secretary of State for Work and Pensions and Secretary of State for Wales from 2007 to 2008 under Brown.  In 2007, he ran for the Deputy Leadership of the Labour Party, coming fifth out of six candidates, although his failure to declare donations during this contest led to his resignation in 2008.  He later returned to the Cabinet from 2009 to 2010 as Welsh Secretary, before becoming Shadow Welsh Secretary in Ed Miliband's Shadow Cabinet from 2010 until 2012, when he announced his retirement from front-line politics.  In 2014 he announced he would stand down as the MP for Neath at the 2015 general election.  He was nominated for a life peerage in the 2015 Dissolution Honours.  Writing in the "Guardian", he subsequently outlined his views on House of Lords reform.  He came to the UK from South Africa as a teenager, and was a noted anti-apartheid campaigner in the 1970s.  He was also Honorary Vice-President of the Campaign for Homosexual Equality.  Peter Hain is on the board of African Potash, a company with a focus on building a vertically integrated platform for the mining, production and distribution of fertiliser. Carl Fremont Brand (October 8, 1892 – March 27, 1981) was an American historian.  He was a professor of history at Stanford University for thirty-four years, and was one of the leading American authorities on the history of the British Labour Party.  His books, "British Labour's Rise to Power" (1941) and "The British Labour Party" (1964), are regarded as definitive works in this field.  He built the Hoover Institution's collection of Labour Party documents, long recognized as the finest collection outside of the United Kingdom. Clement Richard Attlee, 1st Earl Attlee, {'1': ", '2': ", '3': ", '4': "} (3 January 1883 – 8 October 1967) was a British Labour politician who served as Prime Minister of the United Kingdom from 1945 to 1951 and Leader of the Labour Party from 1935 to 1955.  In 1940, Attlee took Labour into the wartime coalition government and served under Winston Churchill, becoming the first person to hold the office of Deputy Prime Minister of the United Kingdom.  He went on to lead the Labour Party to an unexpected landslide victory at the 1945 general election; forming the first Labour majority government, and a mandate to implement its postwar reforms.  The 12.0% national swing from the Conservatives to Labour was unprecedented at that time and remains the largest ever achieved by any party at a general election in British electoral history.  He was re-elected with a narrow majority at the 1950 general election.  In the following year, Attlee called a snap general election, hoping to increase his parliamentary majority.  However, he was narrowly defeated by the Conservatives under the leadership of Winston Churchill; despite winning the most votes of any political party in any general election in British political history until the Conservative Party's fourth consecutive victory in 1992.  Attlee remains the longest-ever serving Leader of the Labour Party. Charles Anthony Raven Crosland (29 August 1918 – 19 February 1977), otherwise Tony Crosland or C.A.R. Crosland, was a British Labour Party politician and author.  He served as Member of Parliament for South Gloucestershire and later for Great Grimsby.  Throughout his long career he occupied the cabinet positions of Secretary of State for Education and Science, President of the Board of Trade, Secretary of State for Local Government and Regional Planning and Foreign Secretary.  A prominent socialist intellectual, he became one of the Labour Party's revisionists on the right, as an intellectual leader of Gaitskellism.  His highly influential book "The Future of Socialism" (1956) argued against many Marxist notions and Labour Party orthodoxy that public ownership was essential to make socialism work.  He offered positive alternatives to both right and left wings of his Labour Party.  He questioned the need for public ownership of the means of production – the classic socialist formulation – and argued instead for making the highest priority the end of poverty and improved public services.  He led the Labour battle to replace grammar schools with comprehensive schools that did not sort students at age 11.  As foreign secretary he promoted détente with the Soviet Union. Ernest Thornton (18 May 1905 – 5 February 1992) was a British Labour Party politician.  He was elected Member of Parliament (MP) for Farnworth in a 1952 by-election, and served until his retirement at the 1970 general election.  His successor John Roper retained the seat for the Labour Party. David Wright Miliband (born 15 July 1965) is a British Labour Party politician, charity chief executive and public policy analyst who was the Secretary of State for Foreign and Commonwealth Affairs from 2007 to 2010 and the Member of Parliament (MP) for South Shields from 2001 to 2013.  He and his brother, Ed Miliband, were the first siblings to sit in the Cabinet simultaneously since Edward, Lord Stanley, and Oliver Stanley in 1938. Rosena Chantelle Allin-Khan (born 1 January 1977) is a British Labour Party politician who has been the Member of Parliament (MP) for Tooting since 17 June 2016.  Following the vacancy caused by the resignation of sitting Labour MP Sadiq Khan after his election in May 2016 as the Mayor of London, she held the seat at the 2016 by-election.  Allin-Khan was appointed as the Shadow Minister for Sport in October 2016. Hilary James Wedgwood Benn (born 26 November 1953) is a British Labour Party politician who has been the Member of Parliament (MP) for Leeds Central since the by-election in 1999.  He served in the cabinet from 2003–10, under the premierships of both Tony Blair and Gordon Brown.  From 2010–16, he served in various Labour Party shadow cabinets, most recently as Shadow Foreign Secretary from May 2015 until June 2016, when he was dismissed by Labour leader Jeremy Corbyn.  In October 2016, he was elected as the Chair of the new Exiting the European Union Select Committee. The South Shields by-election was a by-election held for the United Kingdom House of Commons constituency of South Shields.  It was triggered by the resignation of David Miliband, the previous Member of Parliament (MP) and former Shadow Foreign Secretary, who had held the seat for Labour since 2001.  The by-election took place on 2 May 2013, coinciding with local elections across England. Maurice Anthony Foley (9 October 1925 – 8 February 2002) was a British Labour Party politician.  He was elected as Member of Parliament (MP) for West Bromwich at a by-election in 1963, and represented the constituency until his resignation from the House of Commons in 1973.  His successor in the resulting by-election was the future Speaker of the British House of Commons, Betty Boothroyd.
Answer: David Wright Miliband