European Union and British negotiators have agreed on an outline Brexit deal which still needs to be backed by EU member states and by the respective parliaments.
European Commission President Jean-Claude Juncker tweeted "We have one! It's a fair and balanced agreement for the EU and the UK and it is testament to our commitment to find solutions."
British Prime Minister Boris Johnson tweeted that the two sides had struck a "great new deal" and urged U.K. lawmakers to ratify it in a special session on Saturday.
Juncker said he would recommend the 27 EU nations to endorse the deal during their summit later Thursday.
Merkel told reporters that negotiations were "in the final stretch." Macron said: "I want to believe that a deal is being finalised and that we can approve it" Thursday, when EU leaders are due to meet British Prime Minister Boris Johnson in Brussels.
Differences between the two sides remained but were narrowing.
"Good progress, and work is ongoing," EU chief Brexit negotiator Michel Barnier told reporters Wednesday evening as he prepared to brief the EU Parliament's Brexit steering group.
Johnson, meanwhile, likened Brexit to climbing Mount Everest, saying the summit was in sight, though still shrouded in cloud.
Brexit negotiations have been here before — seemingly closing in on a deal that is dashed at the last moment. But with Britain's Oct. 31 departure date looming and just hours to go before the EU leaders' summit, hopes were increasingly turning toward getting a broad political commitment, with the full legal details to be hammered out later. That could mean another EU summit on Brexit before the end of the month.
Negotiators were locked inside EU headquarters with few details leaking out. Wild movements in the British pound Wednesday underscored the uncertainty over what, if anything, might finally be decided.
Meetings between Barnier and key EU legislators as well as with ambassadors of the member nations were rescheduled for the evening — an indication there was still momentum in the ongoing talks among technical teams from both sides.
The focus of recent talks has been the thorniest component of a deal: how goods and people will flow across the land border between EU member Ireland and Northern Ireland, which is part of the UK.
So far, all plans to keep an open and near-invisible border between the two have hit a brick wall of opposition from Johnson's key Northern Irish ally, the Democratic Unionist Party. Leaders from the party met several times with the British prime minister Wednesday as he tried to win their support. Without it, any Brexit deal is likely to be rejected by Britain's Parliament — which has already voted down prospective deals three times.
Johnson told Conservative Party lawmakers on Wednesday that he believed a deal was close.
Legislator Bim Afolami quoted the prime minister as saying "the summit is in sight, but it is shrouded in cloud. But we can get there."
Northern Ireland is not the only issue. The eventual withdrawal agreement will be a legal treaty that also lays out other aspects of the UK's departure — including issues like the divorce bill Britain must pay to leave and the rights of UK and EU citizens living in each other's territories. It will set up a transition period in which relations would remain as they are now at least until the end of 2020, to give people and businesses time to adjust to new rules.
But the agreement will likely leave many questions about the future unanswered, and Britain's departure is sure to be followed by years of negotiations on trade and other issues.
Even if a deal is inked this week, moves in the British Parliament could still mean another delay to Britain's planned Oct. 31 departure.
UK lawmakers are determined to push for another delay rather than risk a chaotic no-deal Brexit that economists say could hurt the economies of both the UK and the EU. They have passed a law ordering Johnson's government to seek to delay the departure if a deal isn't in place by Saturday.
Johnson has both promised to obey Parliament's order and vowed to leave the bloc on Oct. 31, deal or no deal.
Parliament has also repeatedly rejected previous attempts at a Brexit deal. With the need to get Parliament's approval looming over negotiations, EU leaders are seeking reassurances from Johnson during this week's summit that he has the political weight to push any new deal through the House of Commons, which is due to meet Saturday for its first weekend session in almost 40 years. The Brexit talks plodded ahead Wednesday, further delaying preparations for the EU summit. Since the weekend, negotiators have been locked in long sessions on how to deal with detailed customs, value-added tax and regulatory issues under British proposals to keep goods and people flowing freely across the border between Northern Ireland and Ireland.
"Talks have been constructive, but there still remains a number of significant issues to resolve," EU Commissioner Dimitris Avramopoulos said after being briefed by Barnier.
Beyond the questions of disrupting daily life, an open Irish border underpins both the local economy and the 1998 peace accord that ended decades of Catholic-Protestant violence in Northern Ireland. But once Britain exits, that border will turn into an external EU frontier that the bloc wants to keep secure.
The big question is how far Johnson's government is prepared to budge on its insistence that the UK, including Northern Ireland, must leave the EU's customs union — something that would require checks on goods passing between the UK and the EU.
An alternative is to have checks in the Irish Sea between Britain and Northern Ireland. But Northern Ireland's DUP, the party that props up Johnson's minority Conservative government, strongly opposes any measures that could loosen the bonds between Northern Ireland and the rest of the UK.
Pro-Brexit Conservative British lawmaker David Davis said success in passing a Brexit deal rests on the stance of the DUP.
"If the DUP says, 'This is intolerable to us' that will be quite important," he said.
DUP leader Arlene Foster said the party had not yet consented to a deal. She tweeted: "Discussions continue. Needs to be a sensible deal which unionists and nationalists can support."