Iran on Saturday condemned a shooting spree at a busy shopping centre in Munich by a teenage German-Iranian gunman who killed nine people before committing suicide.
Foreign Ministry spokesman Bahram Ghasemi denounced "the killing of innocent and defenceless people" and expressed Iran's solidarity with the German government and people, official IRNA news agency reported.
Ghasemi also called for a "relentless and comprehensive fight" to eradicate violence.
Sixteen people were also wounded in Friday's shooting spree in Munich, German police said, adding that the assailant was an 18-year-old German-Iranian who had no criminal record.
A police spokesman in Germany had said on Friday that terrorism was suspected, without revealing any immediate indications of an Islamist link.
The attack came just days after a teenage asylum seeker went on a rampage with an axe and a knife on a train on Monday near Wuerzburg, also in Bavaria, injuring five people.