A student opened fire at a university in the Russian city of Perm on Monday, killing at least six people and wounding several, law enforcement said.
The gunman was himself killed after the shootings at Perm State University, around 1,300 km (800 miles) east of Moscow, Natalia Pechishcheva, a university spokesperson, said.
It is the second mass shooting at an education facility in Russia this year.
Students and staff locked themselves in the rooms, and the university urged those who could leave campus to do so. Some reportedly fled through windows.
The perpetrator, who was an 18-year-old student at the university, used a “traumatic” firearm, according to the Perm State University press service. Such guns are designed to fire non-lethal rubber or plastic projectiles, but can be modified to fire other ammunition.
The student had earlier posted a social media photo of himself posing with a rifle, helmet and ammunition.
It said 28 people were being treated after the attack at Perm State National Research University.
“Some of them have been hospitalised with injuries of varying severity,” it said in a statement.
It said the gunman, later identified as a student at the university, carried out the shooting with a hunting rifle he purchased earlier this year.
“During his arrest, he put up resistance and was wounded, after which he was taken to a medical facility,” the statement said.
The health ministry, in comments cited by Russian news agencies, said 19 among the wounded were being treated for gunshots.
State media broadcast amateur footage reportedly taken during the attack showing an individual dressed in black tactical clothing, including a helmet, carrying a weapon and walking through the campus.
The gunman reportedly acted alone and said he had no political or religious motives.
In a social media post he also said he was consumed by hatred and intended to do harm to others.
“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, Reuters news agency reports.