Edward Heath of the Conservative Party formed the Heath ministry and was appointed Prime Minister of the United Kingdom by Queen Elizabeth II on 19 June 1970, following the 18 June general election. Heath's ministry ended after the February 1974 general election, which produced a hung parliament, leading to the formation of a minority government by Harold Wilson of the Labour Party. It was a major surprise when the Conservatives won with a majority of 30 seats.