The United Nations says at least 1,332 Iraqis were killed by violence in July amid the war against the Islamic State group, a slight drop from June.

The U.N. mission to Iraq said Saturday that at least 844 civilians were among the dead, while 488 members of Iraqi security forces and pro-government militias fighting the Islamic State group were killed. It put the number of the wounded at 2,108. Baghdad was the worst affected province with 335 people killed.

In June, at least 1,466 people were killed and 1,687 were wounded.

Violence has escalated in Iraq after the Islamic State offensive began last year. Iraqi forces have been struggling to regain control of the areas lost to the militants.