Swedish police revealed that a 17-year-old female student was the fatal victim in a sword attack at a high school where widespread tributes were paid Saturday.

The man was shot by the police in the leg before he was arrested and detained, authorities said. He remains in police custody.

Several people were injured on Friday at a Swedish school by a person armed with a sword, the Fagersta municipality in central Sweden said in a statement.