Hungary's parliament has ratified Sweden's bid to join Nato, clearing the last major obstacle to the Scandinavian country joining the military alliance.
Prime Minister Viktor Orban confirmed the approval would go ahead in a speech opening the parliament's spring session on Monday.
Lawmakers then approved Swedish membership of the North Atlantic Treaty Organization in a vote.Hungary is the last of the 31 Nato members to ratify Sweden's membership, after months of foot-dragging by the ruling Fidesz party on the matter.
The approval comes after a visit by Swedish Prime Minister Ulf Kristersson on Friday during which the two countries signed an arms deal.
"Today is a historic day," Mr Kristersson said on X. "Sweden stands ready to shoulder its responsibility for Euro-Atlantic security."
Nato Secretary General Jens Stoltenberg immediately welcomed Hungary's ratification. "Sweden's membership will make us all stronger and safer," he said on X.
Sweden’s neutrality lasted through two world wars and the simmering conflict of the Cold War.
Stockholm abandoned its non-alignment policy for greater safety in the wake of Russia's invasion of Ukraine in 2022.
With Sweden following Finland into Nato, becoming its 32nd member, President Vladimir Putin has effectively achieved the very thing he sought to avert when he launched his war in Ukraine - an expansion of the alliance - Western leaders have said.
While Finland became a Nato member last year, Sweden was kept waiting as Turkey and Hungary, which both maintain better relations with Russia than other members of the US-led alliance, raised objections.
Turkey withheld ratification on Sweden's membership demanding tougher action against militants from the Kurdistan Workers' party (PKK) it said had made a home in Sweden.
Sweden changed its laws and relaxed rules over arms sales to assuage Turkey. President Tayyip Erdogan also linked ratification with U.S. approval of sales of F-16 fighter jets to Turkey, with Ankara now expecting the United States to work on securing the U.S. Congress' endorsement.
Hungary's foot-dragging was less clear in nature with Budapest mostly venting its ire over Swedish criticism of the direction of democratic development under nationalist Prime Minister Mr Orban rather than any concrete demands.
Turkey's signature left Hungary as the final hold-out with Orban facing pressure from Nato allies to fall in line.
The accession of Sweden, which has not been at war since 1814, and Finland is the most significant expansion of the alliance since its move into Eastern Europe in the 1990s.
While Sweden has ramped up cooperation with the alliance in recent decades, contributing to operations in places such as Afghanistan, its membership is set to simplify defence planning and cooperation on NATO's northern flank.
Sweden also brings resources such as cutting-edge submarines tailored to Baltic Sea conditions and a sizable fleet of domestically produced Gripen fighter jets into the alliance. It is hiking military spending and should reach NATO's threshold of two per cent of GDP this year.