The two sides agreed last month to a ceasefire, but hostilities had continued.