In a historic shift in the country that shunned deeper ties with the bloc, Danish voters have approved joining the European Union’s defence pact in response to Russia’s invasion of Ukraine.

According to public broadcast DR on Wednesday, the proponents of removing an opt-out on EU military cooperation garnered 66.9% of the vote, with 33.1% opposed with almost all votes preliminarily counted. 

Also read: Russian tank takes landmine in Ukraine, crew miraculously survives

The decision adds to seismic shifts in the European security set-up after Russian President Vladimir Putin started a full-scale “special military operation” against Ukraine in February. It would also mark the first time in almost three decades that the Nordic nation has moved substantially closer to the trading bloc.

“When there’s a war on our continent we can’t be neutral,” Prime Minister Mette Frederiksen said in a speech in Copenhagen. “Maybe this is the biggest ‘yes’ in an EU referendum ever in Denmark.”

Also read: Is Russia looking for a symbolic victory by moving on Severodonetsk?

A founding member of NATO, the country of 5.8 million people has remained the only one that doesn’t participate in the EU’s defence pact out of 21 nations that belong to both EU and the North Atlantic Treaty Organization (NATO). 

Denmark’s government called for the referendum in March and Frederiksen has said it’s crucial for the country to play a larger role in military operations and cooperation to help bring stability to the continent. 

Also read: Germany to send anti-aircraft missiles, radar systems to Ukraine. Check details

Sweden and Finland are seeking NATO entry which requires overcoming Turkey’s opposition. This comes among the biggest jolts to the long-standing security arrangements in the region. 

Denmark’s southern neighbour Germany has announced a historic ramp-up of defence expenditure, including a 100 billion-euro ($107 billion) military spending fund that its politicians agreed this week to enshrine in the constitution.

Also read: United States to send long range advanced rocket systems to Ukraine: Report

The result shows a turnaround “for Danish defence and security policy similar to the movement we have seen in Germany,” Lykke Friis, director at Think Tank Europa, said by phone. “The large support to join the defence pact is also a sign that Danes, previously so sceptical about their EU membership, have become more supportive since Brexit and Donald Trump’s presidency.”

No-voters in Denmark feared that further involvement in the EU’s military operations would limit contributions to NATO. Danes have pledged to increase military spending from 1.3% of gross domestic product to 2% by 2033 to reach the goal that the military bloc has set for its members.