The bombs targeted a truck carrying people from Hawija, about 120 km (75 miles) south of Islamic State's stronghold of Mosul, as they were being taken to the town of Al Alam, next to the Tigris River.
Seventeen of the dead were from the displaced Iraqi families, regional police Colonel Nemaa al Jabouri told Reuters. One policeman in an accompanying patrol car was also killed.
12