Earlier Thursday , Iraqi Prime Minister Nouri al-Maliki said he hoped Iraqi forces would be able to take responsibility for security for most of the country by the end of the year .