Police say the attacker who stabbed two people to death at a school in Sweden before being shot and killed by police had a racist motive.

Police on Friday labeled the stabbing in the industrial town of Trollhatan a so-called hate crime, based on discoveries they made when searching the perpetrator's home, the way he dressed, his behavior at the scene and the way he selected his victims.

They said that "all together, this gives a picture that the perpetrator had a racist motive when he committed the crimes at Kronan school."

A 21-year-old masked man, who has not been identified by police, entered the school in southern Sweden Thursday and stabbed four people, two of which died, before he was shot by police. He later died of his wounds.

___

This story has corrected the spelling of the school's name to Kronan.