As security improved in Baghdad , violent attacks spread last year to other parts of the country , including Diyala Province and Mosul , al-Qaida 's last urban stronghold , according to the report from the United Nations Assistance Mission for Iraq .