Hungary's parliament is expected to ratify Sweden's NATO bid Monday, ending more than a year of delay that left fellow defence alliance partners furious as Ukraine fought off Russian troops.
Hungary remains the last obstacle to Stockholm's NATO membership after Turkey ratified their request in January.
Following Russia's invasion of Ukraine, Sweden and neighbouring Finland applied to join NATO in May 2022.
Finland became the 31st member of the US-led defence alliance last April.
But while Hungary repeatedly said it supported Swedish membership in principle, it kept prolonging the process by asking Sweden to stop "vilifying" the Hungarian government.
Budapest also accused Swedish officials of being "keen to bash Hungary" on rule-of-law issues.
After a meeting Friday between Hungarian Prime Minister Viktor Orban and his Swedish counterpart Ulf Kristersson in Budapest, the nationalist leader announced progress.
"We have managed to clarify our mutual good intentions," Orban told journalists after signing a deal to acquire four Swedish-made fighter jets, expanding its existing fleet of 14 Jas-39 Gripen fighters.
Orban's nationalist Fidesz party -- whose ruling coalition with the Christian Democratic KDNP holds a two-thirds majority in parliament -- had already indicated it would support Sweden's bid.
All opposition parties except the far-right Our Homeland movement are in favour of ratification.
Lawmakers are therefore widely expected to greenlight the Nordic nation's bid in the parliamentary vote at around 4:20 pm (1520 GMT) Monday.
- Maintaining domestic popularity -
After Russia's invasion of Ukraine, most NATO members were keen to quickly approve the membership bids of both Finland and Sweden.
Hungary and the other holdout Turkey held up the process.
While Ankara cited security concerns, Budapest invoked a range of different reasons for delaying ratification.
For some experts, it was a strategy to wring concessions from Brussels to unlock billions of euros in frozen funds. Others argued it underlined Orban's closeness to the presidents of Russia and Turkey.
For analyst Mate Szalai of Venice's Ca' Foscari University, Orban was simply playing to his domestic audience.
"Orban wanted to go as far as he could without causing serious problems to the Transatlantic community while proving that Hungary is a power to be reckoned with," he told AFP.
While Hungary's "confrontational behaviour" did not reap any tangible results, it might have "been beneficial domestically for the ruling Fidesz party", he added.
"Many initiatives of the Hungarian government are designed to provoke a backlash in Europe," said Szalai.
"And most criticism expressed towards the Orban government actually helps Fidesz to maintain its popularity in the country."
Hungary approved Finland's membership last March, but despite its earlier promises, Budapest ended up being the last to vote on Sweden's NATO aspirations.