German police said on Monday a lone gunman wounded four people in an attack in a lecture hall in the southwestern university town of Heidelberg before shooting himself dead.
"Four people injured, some seriously, currently no more danger, perpetrator dead - single perpetrator assumed," police said in a tweet.
A spokesman told Reuters the gunman fled the lecture hall before turning his gun on himself.
He added that the man's motive was unclear. Mass-selling newspaper Bild reported that the gunman was a student.
Earlier, police said a large deployment of officers and emergency services was on the scene at the Neuenheimer Feld area of the town, which is home to university facilities.
Founded in 1386, Heidelberg is Germany's oldest university.


13 killed in explosion at Qatar's Ras Laffan LNG site
UK's Starmer resigns, paving way for orderly transfer of power
Fire at coaching centre in India's Lucknow kills at least 15
Temperatures to exceed 40C in European heatwave as three die in France
US, Iran conclude high-level talks in Switzerland, mediators say
