This was a bad day for Vladimir Putin and one of his strategic objectives.
He says he is fighting this war partly because of the threat of NATO expansion.
He now has thousands more NATO troops on their way to countries on his border and two once staunchly neutral countries swelling the ranks of the alliance.
Sweden and Finland will now join NATO, alarmed at what has happened to Ukraine at the hands of Russia’s invasion.
Their application will be pushed through as fast as possible, which must be galling for the Ukrainians who want to join the alliance too even if they know that is never likely to happen any time soon.
And there are questions over the price paid by Sweden and Finland and possibly other members of the alliance to overcome Turkey’s objections to them joining.
Turkish President Recep Tayyip Erdogan says he has got everything he wants from negotiations over their accession.
Sweden and Finland formally invited to join NATO as alliance tells Russia to withdraw from Ukraine ‘immediately’
Boris Johnson calls on NATO members to ‘dig deep’ and warns Vladimir Putin the alliance is becoming more dominant
NATO: Finland and Sweden poised to join NATO after Turkey drops objection
Most of all the Turks wanted promises from the Swedes and Finns over the Kurds.
The Turks say both countries have agreed to fully cooperate with Turkey on the PKK, the militant group that’s been fighting for an independent Kurdish homeland in Turkey since the 1980s.
Please use Chrome browser for a more accessible video player
But they say Sweden and Finland have also agreed not to support the YPG, the mainly Kurdish group that led the fight against Islamic State in northern Syria in alliance with the west. Turkey regard them as terrorists.
The Turks say both countries have agreed on “intelligence sharing in the fight against terrorism and organised crime”.
How far will that include gathering intelligence on Kurds?
There are 100,000 people in the Kurdish diaspora in Sweden, among them supporters of the PKK.
Read more:
Boris Johnson calls on NATO members prepare for a more dangerous decade
NATO set to agree biggest overhaul of defences since the Cold War
Turkey has wasted no time asking for the extradition of 33 Kurds from Finland and Sweden calling them terrorist suspects.
Kurds also fear the deal will be seen by Turkey as a green light to renew attacks on the Kurdish enclave in Rojava in northern Syria.
Turkey’s president has recently threatened to launch a fresh invasion into northern Syria to recapture towns held by the YPG.
The US sees the group as an important ally. Turkey regards it as an extension of the PKK.