Ukrainian President Volodymyr Zelensky thanked Sweden for the assistance provided.
Ukraine has signed security agreements with Iceland, Norway and Sweden.
“The agreement is a powerful signal to Russia that it is basically pointless to continue the war with the assumption that Western countries will tyre.”
Sweden’s Prime Minister Ulf Kristersson disclosed this on Friday before the signing ceremony in Stockholm.
Mr Kristersson described supporting Ukraine in its fight against Russia as a “fundamental, existential task” for the countries of Northern Europe, whose security is also threatened by Russia’s actions.
Ukrainian President Volodymyr Zelensky thanked Sweden for the assistance provided.
“Only together can we stop the madness from Moscow,” he emphasised.
The agreements are initially valid for 10 years.
Ukraine has already signed similar security deals with Denmark and Finland.
Mr Zelensky is in Stockholm for the third Ukraine-Northern Europe Summit.
According to Mr Kristersson, talks were planned on the provision of further air defence, a peace summit in Switzerland in June, and helping Ukraine on its path to joining the NATO military alliance and the European Union.
Mr Zelensky also has separate meetings with the heads of government of Finland, Denmark, Norway and Iceland.