Family members mourn as Turkish soldiers carry the national flag-draped coffin of Mehmet Sahin, 25, accidentally killed in a Russian airstrike around the northern Syrian town al Bab, during his funeral in Elbistan, Turkey, Friday, Feb. 10, 2017. (Omer Koc/DHA-Depo Photos via AP)

BEIRUT — The Syrian government and an opposition monitoring group have condemned what they call Turkey’s “crimes” against the Syrian people in the northern town of al-Bab that is controlled by the Islamic State group.

Turkish troops and allied opposition fighters have been on the offensive in al-Bab for weeks trying to take it from IS, a battle that has killed hundreds of people so far.

The Syrian Observatory for Human Rights said Turkish shelling and airstrikes have killed 45 people in al-Bab since Wednesday.

Turkey wants to clear the area near its border of IS militants.

The Syrian Foreign Ministry on Friday condemned what it called Turkey’s violations of Syria’s sovereignty.

The condemnation was expressed in two letters addressed to the U.N. Secretary-General and President of the Security Council.