Boris Johnson’s first bid for an early general election has failed and Parliament has passed legislation which would require the Prime Minister to delay Brexit if a deal is not in place by October 19.
But will Britain still leave the European Union at the end of next month? And what options could the PM take to ensure he fulfils his promise of delivering Brexit on October 31?
Here are some of the directions Brexit could take next.
A general election is triggered on September 9
The Government has tabled another motion under the Fixed-term Parliaments Act on Monday which seeks to trigger an early general election.
Boris Johnson failed in his bid to do the same earlier in the week, but he could have better luck now the Bill to delay Brexit looks set to receive Royal Assent.
However, Labour, the Lib Dems, SNP and Plaid Cymru Opposition leaders have agreed to vote against or abstain from the prime minister's call for a general election – making it very tricky for Mr Johnson to achieve the required two-thirds majority.
MPs back a general election after Parliament returns
Parliament is due to be prorogued next week, but MPs could agree to an election after it has returned on October 14.
Labour may table a motion of no confidence in the Government in a bid to achieve this, or the Government may have another go with the Fixed-term Parliaments Act.
There is little doubt in Westminster that an election is imminent, but it is unclear when the opposition will agree the time is right to head to the polls – and they may want to wait until a Brexit extension has been secured.
Boris Johnson triggers a no confidence motion in his own Government
If opposition MPs refuse to back any Government moves to force an election, Mr Johnson may make the extraordinary decision to trigger a confidence motion in his own administration.
He would effectively be daring opposition politicians to back him, and hoping that no other potential governments emerged which could command a majority in the Commons – running the risk of a caretaker government taking power.
If a new government cannot be formed within 14 days, Parliament would be dissolved and an early general election triggered.
Boris Johnson asks Brussels for a delay to Brexit
Assuming cross-party legislation receives Royal Assent and becomes law, Mr Johnson would be legally bound to seek a delay to Brexit if there is not a deal in place by October 19.
But on Thursday the prime minister said he would rather be “dead in a ditch” than ask for a further delay.
The prime minister resigns
Even more extreme perhaps than triggering a no confidence motion, Mr Johnson could resign to save face and avoid having to go to Brussels to ask for a delay to Brexit.
On Friday the prime minister declined to rule out quitting office if he fails to deliver Brexit on the current deadline, saying it was “not a hypothesis I’m willing to contemplate”.
MPs back Theresa May’s final Brexit deal
In a surprise move, the legislation to delay Brexit to prevent a no-deal next month was amended in the Commons to pave the way for MPs to vote on Mrs May’s final Brexit deal - again.
Labour MP Stephen Kinnock’s amendment was approved after tellers for those voting against the amendment were not put forward during the vote.
Mrs May’s final offer, the Withdrawal Agreement Bill, emerged from cross-party talks earlier this year, but was never put before Parliament because she was ousted as Tory leader.
Downing Street has insisted it has no plans to bring the Agreement to the Commons for a vote, but backbenchers could try to find a way to vote on it in an effort to leave the EU with a deal at the end of October.
Boris Johnson secures a deal at the European Council summit
The PM has repeatedly insisted that he believes he can get a new or amended agreement with the EU at the European Council summit on October 17, and deliver Brexit with a deal later that month.
However, the EU’s chief Brexit negotiator Michel Barnier has reportedly claimed that there is a “state of paralysis” in talks with the UK – casting doubt on whether an agreement that would be accepted by Parliament could be reached.