European Union leaders agreed to open membership talks with Ukraine even as it continues to fight Russia's invasion, but they could not agree on a €50 billion package of financial aid for Kyiv due to opposition from Hungary.
At a summit in Brussels, other leaders bypassed objections from Hungarian Prime Minister Viktor Orban by getting him to leave the room while they took the historic step of agreeing to start accession negotiations with a country at war.
But they could not overcome resistance from Orban - who maintains close ties to Russia - to a revamp of the bloc's budget to channel vital financial support to Ukraine and provide more cash for other EU priorities such as managing migration.
They ended talks on the financial package, which requires unanimity of the 27 EU leaders, in the early hours of Friday morning and said they would try again in January, with some voicing optimism a deal could be clinched then.
Officials said leaders of 26 of the EU's 27 member countries were satisfied with a compromise budget proposal put forward by summit chairman Charles Michel.
"We still have some time, Ukraine is not out of money in the next few weeks," Dutch Prime Minister Mark Rutte told reporters on leaving the talks. "I am fairly confident we can get a deal early next year, we are thinking of late January," said Rutte.
Orban has argued Ukraine should not get such large amounts of money from the EU budget as it is not part of the bloc. Other leaders have assured Kyiv they channel aid to Ukraine outside the EU budget if Budapest maintains its blockade.
The news on the financing struck a bittersweet note for Ukraine, coming just hours after leaders agreed to open membership talks.
Although membership would likely be many years away, the decision at a summit in Brussels takes Ukraine a step closer to its long-term strategic goal of anchoring itself in the West and liberating itself from Moscow's orbit.
The move came at a critical time for Ukraine, after its counter-offensive against Russian forces has failed to make major gains and with U.S. President Joe Biden so far unable to get a $60 billion package for Kyiv through the US Congress.
"This is a victory for Ukraine. A victory for all of Europe. A victory that motivates, inspires, and strengthens," declared Ukrainian President Volodymyr Zelenskiy.
"I congratulate every Ukrainian on this day...History is made by those who don't get tired of fighting for freedom."