STOCKHOLM - Swedish Prime Minister Magdalena Andersson formally announced Monday that her country will apply for NATO membership, ending more than 200 years of military neutrality in the wake of Russia's invasion of Ukraine.