Hawzah News Agency - Syria's official news agency SANA reported that Takfiri terrorists detonated a bomb on Wednesday in the Palace of Justice, a court house in the capital's al-Hamidiyah district, killing 31 people and injuring an unspecified number of others.
A judicial source was quoted as saying that an attacker blew himself up in a corridor after the security forces prevented him from entering the building.
SANA quoted a source at the Damascus Police Command as saying that a terrorist wearing an explosive belt blew himself up in the building.
According to the Beirut-based al-Mayadeen television, the security forces have surrounded the scene of the incident.
Shortly after the court house bombing, the Syrian capital was hit by a second bomb attack in an area to the west of the building.
The second attack occurred as a bomber detonated an explosive device inside a restaurant in the al-Rabweh area, state media reported, adding that there were several casualties.
No group has immediately claimed responsibility for the attacks.
The blasts come a few days after an explosion targeted the Syrian capital.
On March 11, at least 46 people, most of them Iraqis, were killed in two bomb explosions near the Bab al-Saghir cemetery in the Bab Masala area of Damascus in one of the bloodiest attacks in the city.
Tahrir al-Sham, which includes the former al-Qaeda branch in Syria, Jabhat Fateh al-Sham, claimed responsibility for the twin bombings.
The terrorist attacks come as the Takfiri militants active in the Arab country have suffered major setbacks over the past few months as the Syrian army has managed to liberate several areas.
Syria has been gripped by foreign-backed militancy since March 2011.
On Monday, the so-called Syrian Observatory for Human Rights reported that 465,000 people have been killed or missing in six years of war in the Arab country.