The 13 prime ministers the Queen has outlasted

Winston Churchill, 1951 - 1955, Conservative
Mr Churchill was already prime minister when Princess Elizabeth ascended the throne in 1952. It was his second tenure, having previously seen the country through World War II. Asked many years later about her favourite PM, the Queen said: “Winston, of course, because it was always such fun." [Photo: PA]
Sir Anthony Eden, 1955 - 1957, Conservative
Sir Anthony Eden is mostly remembered for his mishandling of the Suez Crisis in 1956. After Egypt nationalised the Suez Canal in 1953, Sir Anthony conspired with the French and the Israelis to win it back, which led to an invasion. He resigned from his position due to ill-health. [Photo: PA]
Harold Macmillan, 1957 - 1963, Conservative
Her Majesty is said to have had a difficult relationship at first with Macmillan, but eventually warmed to him. Near the end of his tenure as prime minister, his government was rocked by the Vassall and Profumo scandals. [Photo: PA]
Sir Alec Douglas-Home, 1963 - 1964, Conservative
Born into an aristocratic family and educated at Eton College and Oxford University, Sir Alec was a childhood friend of the Queen Mother. He and the Queen were said to be close and he even helped her name royal horses. [Photo: PA]
Harold Wilson, 1964 - 1970 and 1974 - 1976, Labour
Mr Wilson was the Queen's first Labour prime minister and it's said that they enjoyed long walks at Balmoral together when he visited her Scottish estate. [Photo: PA]
Edward Heath, 1970 - 1974, Conservative
The Queen, Prime Minister Edward Heath and the Duke of Edinburgh (centre, background). Mr Heath and Her Majesty are said to have held wildly different views over her role in Europe and as head of the Commonwealth. [Photo: PA]
James Callaghan, 1976 - 1979, Labour
The Queen with then prime minister James Callaghan at Chequers and then French President Valery Giscard d'Estaing. The pair were said to have got on famously. [Photo: PA]
Margaret Thatcher, 1979 - 1990, Conservative
The Queen with then American President Ronald Reagan and then Prime Minister Margaret Thatcher. Mrs Thatcher was Britain's first female PM, and while she and the Queen reportedly had a complicated relationship, she holds the longest leadership tenure in her reign. [Photo: PA]
John Major, 1990 - 1997, Conservative
The Queen and Mr Major (pictured left) are said to have supported each other through some of the toughest times, including the Gulf War and her annus horribilis in 1992, which saw the breakdowns of three of her children's marriages. [Photo: PA]
Tony Blair, 1997 - 2007, Labour
Labour returned to power with Tony Blair in 1997 but he and the Queen were said to have had uneasy relationship. Mr Blair is said to have thought the royals out of touch, while Her Majesty is said to have had concerns about his disregard for tradition and some of his policies. [Photo: PA]
Gordon Brown, 2007 - 2010, Labour
Britain's Queen Elizabeth II meets Prime Minister Gordon Brown as she hosts a reception to mark the centenary of the 1908 London Olympics at Windsor Castle in Berkshire [Photo: PA]
David Cameron, 2010 - 2016, Conservative
The Conservative party returned to power with David Cameron in 2010. He introduced a referendum on the UK's continuing membership of the EU and following the success of the Leave vote, he resigned because he supported continued membership [Photo: PA]
Theresa May, 2016 - 2019
The Queen's thirteenth prime minister Theresa May will stand down on June 7, 2019. During her resignation speech, she said: "It is, and will always remain, a matter of deep regret to me that I have not been able to deliver Brexit." [Photo: PA]

Theresa May announced on Friday that she will resign on 7 June, bringing an end to her three-year tenure as Britain’s prime minister.

In her 67-year reign, the Queen has been served by thirteen PMs and will meet her fourteenth when the results of the Conservative leadership contest are announced in mid-July.

When the then Princess Elizabeth ascended the throne in 1952, Winston Churchill oversaw her Coronation. The pair are said to have had a close relationship and it’s said that she saw him as an almost father-figure.

While the Queen has seen both the Conservative and Labour parties in power throughout her reign, she has also seen the first female PM - Margaret Thatcher - who, to date, was the longest serving.

Take a look at the 13 prime ministers the Queen has had.