Militants armed with automatic weapons attacked a military position in northern Iraq on Thursday, killing 12 soldiers, police and a morgue employee said. The attack in the Mahallabiyah area west of the city of Mosul also wounded 15 soldiers, police said.