A gunman has killed six people at a university in the Russian city of Perm, officials have said.
The assailant walked on to the campus on Monday morning and started shooting.
Students and teachers barricaded themselves inside the university building; others were seen jumping from windows.
Police say they wounded and detained the attacker, who is said to be a student. More than 20 people were injured during the shooting.
The incident occurred at 11:00 (06:00 GMT) at Perm State University, located around 1,300 kilometres (800 miles) east of the capital, Moscow, in the Urals. Officials initially reported eight had died, but subsequently revised the death toll down.
One professor at the university described students leaping out of buildings: “They jumped out in some horror, screaming,” he told the BBC.
Other students locked themselves into classrooms in a bid to escape the gunman.
“There were about 60 people in the classroom. We closed the door and barricaded it with chairs,” one student, Semyon Karyakin, told Reuters news agency.
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.
The gunman was identified as a student at the university, according to the Investigative Committee that handles probes into major crimes.
Perm University posted a message on social networks urging students who were in the building to stay in the classrooms.
Earlier this year, a 19-year-old gunman opened fire in his old school in the central Russian city of Kazan, killing nine people.
Additional reporting from BBC