Task: Question Answering
Input (English): Context: The United Kingdom general election of October 1974 took place on 10 October 1974 to elect 635 members of the House of Commons of the United Kingdom . It was the second general election of that year and resulted in the Labour Party led by Harold Wilson winning an overall majority of just 3 seats . The election of February that year had produced an unexpected hung parliament . Coalition talks between the Conservatives and other parties such as the Liberals and the Ulster Unionists failed , allowing Labour leader Harold Wilson to form a minority government . The October campaign was not as vigorous or exciting as the one in February . Despite continuing high inflation , Labour was able to boast that it had ended the miners ' strike , which had dogged Heath 's premiership , and had returned some stability . The Conservative Party , still led by Edward Heath , released a manifesto promoting national unity ; however their chances of forming a government were hindered by the Ulster Unionist Party refusing to take their whip at Westminster in response to the Sunningdale Agreement of 1973 . In the election the Labour Party won 319 seats , allowing them to form a majority government , albeit with a majority of only 3 . The Conservatives and the Liberals each saw their vote share fall , and Conservative leader Edward Heath , who had lost three of the four elections he contested , was ousted as party leader in February 1975 and replaced with future Prime Minister Margaret Thatcher . The Scottish National Party won 11 of Scotland 's 71 seats and 30 % of the Scottish popular vote , their best Westminster representation until 2015 . Subsequently , Labour 's narrow parliamentary majority had disappeared by 1977 , through a series of by - election losses and defections . They then required deals with the Liberals , the Ulster Unionists , the Scottish Nationalists and the Welsh Nationalists . This was the last general election won by Labour until 1997 : the next four elections all produced an outright Conservative victory . The election was broadcast live on the BBC , and was presented by David Butler , Alastair Burnet , Robert McKenzie , Robin Day and Sue Lawley ., James Harold Wilson, Baron Wilson of Rievaulx, (11 March 191624 May 1995) was a British Labour Party politician who served as the Prime Minister of the United Kingdom from 1964 to 1970 and 1974 to 1976., The Prime Minister of the United Kingdom is the head of Her Majesty's Government in the United Kingdom. The prime minister (informal abbreviation: PM) and Cabinet (consisting of all the most senior ministers, most of whom are government department heads) are collectively accountable for their policies and actions to the Monarch, to Parliament, to their political party and ultimately to the electorate. The office is one of the Great Offices of State. The , Theresa May, leader of the Conservative Party, was appointed by the Queen on 13 July 2016., Subject: united kingdom general election, Relation: office_contested, Options: (A) prime minister (B) prime minister of the united kingdom
Output (English): prime minister of the united kingdom