Denmark will boost its defence budget by 40.5 billion Danish crowns ($5.9 billion) over the next five years to meet NATO targets and address major defence shortcomings "in a world where the international order is being challenged," the prime minister said.

A founding member of the North Atlantic Treaty Organization, Denmark scaled back its military capabilities after the end of the Cold War in the early 1990s.

"We are not rearming in Denmark because we want war, destruction, or suffering. We are rearming right now to avoid war and in a world where the international order is being challenged," Prime Minister Mette Frederiksen told reporters, indirectly referring to Russia's military moves in recent years and months.

Russia, which is engaged in a war in Ukraine, plans to deploy troops and military equipment to the Finnish border, following the latter's entry to NATO, President Vladimir Putin said on Wednesday.

Denmark has come under pressure from Washington to bring military spending back up to a NATO target of 2% of GDP, from 1.4% last year.

The fresh defence funding comes in addition to 155 billion crowns Denmark pledged last year for the next 10 years.

The plan presented by the majority government included extending conscription service to 11 months from four months, and making service equal for all, meaning both men and women will be called up.

While vast military aid for Ukraine, including a donation of F-16 fighter jets, has helped Denmark meet the NATO spending target, it has yet to invest in a major way in its own forces.

The new money will help Denmark meet NATO's target by next year, Frederiksen said. Denmark had previously expected to reach the target by 2030.

Investments will cover land-based air defence systems and a heavy infantry brigade of up to 6,000 soldiers by 2028 which could be deployed as part of NATO's emergency forces on high alert. ($1 = 6.8220 Danish crowns) (Reporting by Jacob Gronholt-Pedersen and Isabelle Yr Carlsson, editing by Stine Jacobsen and Bernadette Baum)