A student has opened fire at a university in the Russian city of Perm, killing at least eight people and wounding several others, law enforcement officials say.
The gunman was himself killed after the shootings at Perm State University, around 1300km east of Moscow, Natalia Pechishcheva, a university spokesperson, said.
Footage from the scene showed his prone body on the ground outside.
Earlier media footage from the scene showed students jumping from first-floor windows to escape the building, landing heavily on the ground before running to safety.
Students built barricades out of chairs to stop the shooter from entering their classrooms, they said.
The gunman was identified as a student at the university, the Investigative Committee, that handles probes into major crimes, said.
“There were about 60 people in the classroom. We closed the door and barricaded it with chairs,” student Semyon Karyakin told Reuters.
Local media identified the gunman as an 18-year-old student who had earlier posted a social media photo of himself posing with a rifle, helmet and ammunition.
“I’ve thought about this for a long time, it’s been years and I realised the time had come to do what I dreamt of,” he said on a social media account attributed to him that was later taken down.
He indicated his actions had nothing to do with politics or religion but were motivated by hatred.
Russia has tight restrictions on civilian firearm ownership, but some categories of guns are available for purchase for hunting, self-defence or sport, once would-be owners have passed tests and met other requirements.
The shootings were the latest in a series of gun-related killing sprees.
Earlier this year a lone teenage gunman opened fire at a school in the city of Kazan in May, killing nine people and wounding many more.
That was Russia’s deadliest school shooting since 2018 when a student at a college in Russian-annexed Crimea killed 20 people before turning his gun on himself.
Russia raised the legal age for buying firearms from 18 to 21 after the Kazan shooting, but the new law has yet to come into force.