A student opened fire at a university in the Russian city of Perm on Monday, killing at least eight people and wounding several, law enforcement said.
The gunman was killed himself after the shootings at Perm State University, around 1,300km east of Moscow, Natalia Pechishcheva, a university spokesperson, said.
"He was liquidated," she 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.