"It is a very painful day for all of Sweden," Prime Minister Ulf Kristersson said in a statement posted on social media.