- Boris Johnson has agreed a new deal with the EU.
- The deal is based on a previous agreement negotiated by former prime minister Theresa May, but with several crucial differences.
- The controversial UK-wide “backstop” element of May’s agreement has been ripped up and replaced by a Northern Ireland-only arrangement.
- It means there will be no hard border in Ireland but there will be new border checks on the Irish Sea.
- Here is everything you need to know about the new deal.
Boris Johnson has agreed the terms of a new Brexit deal with the EU.
The revised text of the withdrawal agreement largely resembles that struck by Johnson’s predecessor Theresa May, but with several key differences that will have big ramifications for the UK’s future relationship with the EU and Northern Ireland.
The agreement will need to be ratified by both the UK and EU parliaments before Britain can leave the EU, which looks very difficult.
The deal is already hugely controversial and has been rejected both by opposition parties in London and Johnson’s governing partners in Northern Ireland.
Here's everything you need to know about Johnson's plan and its chances of coming into force.
The 'backstop' has been scrapped
The controversial "backstop," an arrangement which would have kept the whole of the UK bound in the EU's customs union indefinitely, has been scrapped by Johnson.
The plan was deeply unpopular with Conservative MPs who believed it would have kept the UK in the EU in all but name. Johnson's success in removing it will mean he should secure a lot more support from his party when it comes to a vote on Saturday.
We now have a Northern Ireland-only backstop
Under the terms of Johnson's new deal Northern Ireland will formally leave the EU customs union along with the rest of the UK.
But there will be a "special arrangement" for Northern Ireland, with the province remaining subject to EU regulations in certain areas, including on goods, agriculture, VAT, excise duties, and state aid rules.
That means there will be a new border in the Irish Sea
The new proposals would mean there was no hard border between Northern Ireland and Ireland.
But it also means there will be a new border between Northern Ireland and the rest of the United Kingdom in the Irish Sea, covering customs and regulations.
That would lead to big new costs for trade on both sides of the United Kingdom, and is opposed by Johnson's governing partners the Democratic Unionist Party.
Will the deal pass?
Johnson has secured a series of concessions from the EU that should help him win support from former opponents of May's Brexit deal.
The removal of the backstop will assuage the fears of some, if not all, pro-Brexit Conservative MPs. The Northern Irish assembly veto will also persuade some of those who were worried about a deal being imposed on the province.
The suggestion, contained in the accompanying political declaration, that the UK will retain a "level playing field" with EU rules and regulations could also persuade some opposition Labour MPs to back the deal.
However, the lack of a legally binding commitment on that aspect means he will struggle to win the vast majority of potentially sympathetic Labour MPs over.
That, combined with the continuing opposition of the DUP, who says it will be "unable to support these proposals in Parliament," means that Johnson's prospects of passing the deal look very slim.
Why does the DUP object to the deal?
The DUP principally objects to the proposals because it is a unionist party, meaning it opposes any barriers being erected between Northern Ireland and the rest of the UK.
They said Johnson's plan to subject Ireland to EU customs rules would "undermine the integrity of the Union."
The party's other objection relates to the so-called "consent mechanism" which would allow Northern Ireland's politicians to approve or veto the new backstop arrangements which would apply to Ireland.
Under the plan, Northern Ireland would have no choice but to enter the new backstop once the transition period ends in two years.
The province would have the chance to reject the arrangement after four years but would require a two-year notice period before it expired.
The DUP demanded a veto on the plan, which was rejected. Instead, the Northern Irish assembly as a whole will decide how to vote, meaning republican parties - which are politically opposed to the DUP - will have to give consent to arrangements as well.
What happens next?
Johnson will now hold a vote on the deal in the UK Parliament on Saturday. The vote looks unlikely to pass as things stand, for all of the reasons listed above.
If he loses, as appears likely, Johnson will then be obliged under the terms of a law passed last month, to seek a three-month extension from the EU.
That will be politically very difficult for Johnson, who has repeatedly insisted that Britain will leave the EU on October 31 "do or die."
Will the EU agree to an extension?
Speaking alongside Johnson on Thursday, European Commission President Jean-Claude Juncker said that there would be "no need for any kind of prolongation" if MPs back Johnson's agreement.
That came close to the UK government's hopes that the EU would help Johnson turn Saturday's vote in the UK Parliament into a "deal or no deal" issue.
However, Juncker stopped short of saying that the EU would reject a request to delay, meaning a vote against the deal would still likely lead to an extension.
Election or referendum
If and when an extension is agreed, the UK would then face the decision of what to do next in order to finally break the Brexit deadlock.
With no apparent majority for a deal, the UK parliament would then have to decide whether to hold a general election, which some opposition parties have signaled they would support.
If Johnson were to win a majority in that election then the current deal could then pass. Were he to lose, however, then the prospect of MPs instead moving towards backing a second referendum on Brexit would quickly loom into view.