Nine people were killed and more than 20 injured when a gunman went on the rampage in Munich before killing himself, on July 22.
Latvian President Raimonds Vejonis led the way.
Solidarity&condolencies to families of Munich shooting victims. Terrorism and violence should not be tolerated.— Raimonds Vējonis (@Vejonis) July 22, 2016
Prime Minister Maris Kucinskis said he was shocked by the brutal violence.
Shock about such brutal violence and deepest condolences to the victims families!— Maris Kucinskis (@MarisKucinskis) July 23, 2016
Foreign Minister Edgars Rinkevics followed suit.
Appalling news about #MunichShooting, I express full solidarity with the German people and deep condolences to the families of victims— Edgars Rinkēvičs (@edgarsrinkevics) July 22, 2016
Many other politicians and officials offered their condolences to Germany.
Some others wasted no time in posting their pet theories about the causes and motives of the attack, and assignations of guilt though German Police have yet to establish these facts.
German police have however said that an 18-year-old of dual German-Iranian citizenship is believed to be responsible for the attack.