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.


Surfer killed in shark attack in Australia's New South Wales
Meta says Australia social media ban hit 1.5 million teen accounts in first year
Saudi-led coalition launches military response against Houthis
Three foreigners, five Pakistani civilians killed after militants attack Barrick's gold mine
Twelve killed by Russian attacks on Ukraine, key dam targeted
Huang's 'I don't recall' testimony offers legal cover but angers Congress
Mangione asks US judge for no more than 25-year sentence for CEO killing
Trump appoints Michael Waltz as White House press secretary
