A gunman named by Danish media as 22-year-old Omar Abdel Hamid El-Hussein opened fire first on a discussion about press freedom and then on a security guard at a Jewish bat mitvah celebration.
"Latvia strongly condemns the terrorist attacks at a free speech event, near a train station and to a synagogue in Copenhagen yesterday and early today. Four people were killed and several injured during the attacks," a statement by the Latvian Foreign Ministry said.
"Latvia expresses its deepest condolences to the families of the victims and wishes a speedy and full recovery of those who were injured.
"Latvia conveys its solidarity with the Danish Government and people in defending democratic values against the terrorist attempts to intimidate the public. Such attempts to threaten democratic society and its citizens are predestined to fail.
The Latvian Presidency of the EU Council strongly believes that the counter-terrorism measures discussed in the Informal Meeting of Justice and Home Affairs Ministers in Riga at the end of January must be implemented immediately, the statement added.
Writing on his Twitter feed, Foreign Minister Edgars Rinkevics shared his personal take on the recent attacks, which included January's attack on the French journal Charlie Hebdo, and which which are supposedly in retribution for the publications drawing cartoons of the prophet Muhammed.
I personally don't like cartoons on religion but I do support the right of free speech, it's not up to terrorists to intimidate our values
— Edgars Rinkēvičs (@edgarsrinkevics) February 14, 2015