Britain's next prime minister is set to be a woman, after Theresa May and Andrea Leadsom took the top two slots in a crucial vote of Conservative MPs.

Justice Secretary Michael Gove was eliminated from the contest to succeed David Cameron as Tory leader, taking just 46 votes in the second-round ballot at Westminster.

Home Secretary Mrs May remains in pole position with 199 votes - well over half of the 330 Conservative MPs - with energy minister Mrs Leadsom on 84.

But the final decision on which of them will become the UK's second female prime minister, after Margaret Thatcher, will be made by Conservative Party members in a postal ballot due to end on September 9.

Mrs May said: "I am delighted to have won so much support from my colleagues. This vote shows that the Conservative Party can come together - and under my leadership it will.

"I have said all along that this election needs to be a proper contest. And now it is time for me - and my team - to put my case to the Conservative Party membership.

"That case comes down to three things. Because we need strong, proven leadership to negotiate the best deal for Britain as we leave the European Union, to unite our party and our country, and to make Britain a country that works not for a privileged few but for every one of us.

"Those are the things my colleagues have voted for in overwhelming numbers today, and I am confident they will win the support of our members - and the support of the country as a whole."

While Mrs May enjoys a clear advantage among Tories at Westminster, she will be acutely aware that grassroots Conservatives rejected the MPs' choice in both previous elections conducted under the current system, opting for Iain Duncan Smith and David Cameron over Kenneth Clarke and David Davis.

Mrs Leadsom, who played a prominent role in the campaign for Britain to leave the EU, is likely to attract votes from Eurosceptic activists who want a "Brexit prime minister" to oversee withdrawal negotiations.

Although signed up to the Remain camp, Mrs May maintained a low profile during the referendum, and sought to neutralise the issue as she launched her leadership bid by making clear she would not seek to overturn the result and declaring: "Brexit is Brexit."

The new prime minister will be chosen by an electorate of around 150,000 Conservative Party members.

The deadline for getting a vote by joining the party has already passed.

In a message on Twitter, Mr Gove said: "Thanks to all who supported me. Congratulations to Theresa May and Andrea Leadsom. All the best with the campaign."

Ms Leadsom's campaign chief Tim Loughton said the run-off represented a "quirky" choice for the Tories.

"They both went to state schools, they are both women, hey, that's pretty quirky for the Tory party. Isn't this the new sort of Tory party?"

Speaking outside Parliament, Mr Gove said he welcomed the fact that the next PM would be a woman.

He said: "I'm naturally disappointed that I haven't been able to make it through to the final round of this leadership contest.

"But let me first of all congratulate both of the candidates who have made it through - both Theresa May and Andrea Leadsom are formidable politicians and they have fought great campaigns and they deserve to be in the final two.

"And there's one thing as well which is important, significant, and I think actually welcome.

"Whoever the next prime minister of this country will be, it will be a female prime minister and a female prime minister who has formidable skills and I know whichever one of the two wins they will lead this country well.

"It's now up to the Conservative Party and indeed the wider country to assess the skills, the abilities and the leadership potential of these two candidates.

"I hope over the course of the next few weeks we will have an opportunity to have a debate about the direction in which the country should go, which will be civilised, inclusive, positive and optimistic."

Former Tory leader Iain Duncan Smith, who is backing Mrs Leadsom, said she had "real steel" but within the "velvet glove of compassion".

Speaking to reporters outside Parliament he said: "I think Andrea Leadsom is fantastically qualified for the job."

He added: "Today we have two strong women candidates going to the country, we will have a woman prime minister.

"It says to women all over the country 'you can get to the top'."