The attacker has been named by Swedish media as Anton Lundin Pettersson.
The 21 year-old was shot by police at the scene and later died in hospital.
- Advertisement -
Some students described how they initially posed for photos with Petterson, thinking he'd dressed up for a Halloween joke.