MPs have voted to delay Brexit beyond the scheduled date of March 29 amid dramatic scenes in the House of Commons.
The vote came after Theresa May's Withdrawal Agreement was rejected for the second time on Tuesday and MPs voted the following day to rule out a no-deal Brexit.
A motion in Mrs May's name, authorising the Prime Minister to request an extension to the two-year Article 50 negotiation process, was passed by 412 votes to 202 - a majority of 210.
Only a refusal by the leaders of the 27 remaining EU states to grant the UK an extension at a Brussels summit next week could now preserve the totemic date of March 29 as Brexit Day.
Mrs May has made clear that she will press her Agreement to a third "meaningful vote" in the Commons by March 20 in the hope of securing the support of MPs who rejected it by 230 votes in January and 149 earlier this week.
If she succeeds, she will go to Brussels next Thursday to request a short delay to a date no later than June 30, to give herself time to pass legislative changes necessarily for a smooth and orderly Brexit.
But if her deal is rejected for a third time, she believes any extension would have to be far longer and would involve the UK taking part in European Parliament elections in May.
Cabinet Office minister David Lidington told MPs that in this case, the Government would stage two weeks of debate following the March 21-22 summit for the Commons to try to establish a majority around a different plan.
Ministers met for a reportedly testy political meeting of Cabinet ahead of the votes, at which Mrs May was said to have berated four senior colleagues who defied the Tory whip to abstain in the no-deal vote.
Conservative MPs were given a free vote on Mrs May's motion.
European Council president Donald Tusk has indicated that the EU may be ready to offer a lengthy extension to negotiations if the UK wants to "rethink its Brexit strategy and build consensus around it".
But any extension must be approved unanimously by the EU27, and Austrian foreign minister Karin Kneissl said there could be "some problem" in obtaining this if it took Brexit beyond the date of elections.
Ahead of the vote, Sunderland MP Julie Elliott tweeted: "May and her Government are fast forwarding us towards disaster.
"Tonight I will be calling for an extension to article 50.
"It’s time to fix this mess."
Earlier, MPs decisively rejected an attempt by the Independent Group to secure a second referendum on Brexit by 334 votes to 85.
Mr Bercow sparked fury among Brexiteers by selecting TIG MP Sarah Wollaston's referendum proposal for debate, while blocking another amendment which sought to rule out a second public vote.
And by the far narrower margin of 314-312, they voted down a cross-party bid for Parliament to seize control of the Brexit process.
The cross-party amendment, tabled by MPs including Labour's Hilary Benn and Yvette Cooper and Tory Sir Oliver Letwin, would have forced a set of "indicative votes" to determine the preferred Brexit outcome of the House of Commons.
A Labour amendment demanding an extension to Article 50 withdrawal negotiations to provide time to "find a majority for a different approach" was also defeated.The votes came as US President Donald Trump said Brexit was ripping Britain apart and warned that another referendum would be "unfair".