Brexit: Where do the parties stand?
A law which could keep the UK inside the European Union until the new year has been passed by MPs.
But where do all the Westminster parties stand on Brexit?
Labour – 247 MPs
Labour favours another public vote on Brexit.
If the party wins an election, Jeremy Corbyn says he will hold a referendum that offers a "credible" Leave option and Remain.
Under its Leave option, Labour says the UK will remain in a EU customs union and have a "close" single market relationship.
Mr Corbyn's approach is at odds with Tom Watson, the party's deputy leader. Mr Watson says reversing Brexit, through another referendum, should take priority over winning power in a general election.
If a referendum was held, Mr Corbyn has not said which way he would vote, although he has pledged "to carry out whatever the people decide".
Other senior figures, including shadow chancellor John McDonnell and shadow foreign secretary Emily Thornberry, have said they favour remaining in the EU.
Just like the Conservatives, Labour has had to deal with internal divisions over its Brexit policy. More than 25 Labour MPs wrote to Mr Corbyn in June saying another public vote would be "toxic to our bedrock Labour voters".
- What is Labour's Brexit plan?
Conservatives – 288 MPs
Prime Minister Boris Johnson has said he wants to leave the EU on 31 October "do or die". He says he wants to leave with a deal, but is willing to exit without one to deliver Brexit by the current deadline.
Mr Johnson says any new deal must not include the controversial Irish backstop, which should be replaced with "alternative arrangements".
The issue of Brexit has left the Conservative Party heavily divided. After it supported a vote paving the way for legislation to extend the Brexit deadline, 21 of its MPs were expelled.
- Why is the Irish border blocking Brexit?
- What is a no deal Brexit?
- Laura Kuenssberg: Is PM's Brexit deadline impossible?
Liberal Democrats – 18 MPs
The Liberal Democrats have pledged to cancel Brexit if they win power at the next general election.
This is new policy, which was endorsed by party members in September at the Lib Dem annual conference.
Previously, the Lib Dems favoured another another referendum on EU membership, in which they would campaign for Remain.
The Lib Dems say they will continue to work with other parties to try to bring about a referendum before an election is called.
SNP – 35 MPs
The SNP is pro-Remain and wants the UK to stay a member of the EU.
It has been campaigning for another referendum on Brexit.
The SNP's ultimate objective is for an independent Scotland that is a full member of the EU.
Democratic Unionist Party – 10 MPs
The DUP has an agreement with the Conservatives, which it supports in Commons votes.
Despite Northern Ireland backing Remain in the 2016 referendum, the DUP is supporting the PM's plans to leave the EU, with or without a deal, at the end of October.
Like Boris Johnson, the DUP wants the EU to make changes to the Irish backstop.
The party argues the current proposal has the potential to create an internal border between Northern Ireland and the rest of the UK.
The Independent Group for Change – 5 MPs
This party is made up of MPs who left the Conservatives and Labour, in part because of their positions on Brexit.
They back another referendum, or "People's Vote", and want the UK to remain in the EU.
Plaid Cymru – 4 MPs
The party backs remaining in the EU, despite Wales voting out in the referendum. It want a further referendum and to Remain.
Green Party – 1 MP
The party's one MP, Caroline Lucas, has been a vocal campaigner for another referendum and believes the UK should stay in the EU.