A roadside bomb exploded near an Iraqi army patrol north of Baghdad on Friday, killing one soldier and wounding four others, the defense ministry said in a statement.
The attack took place in the town of Tarmiya, 25 km (15 miles) north of Baghdad, the ministry said.
ISIS formally claimed responsibility for the attack, saying it killed one soldier and wounded nine others, the group said in a statement.
Iraq’s Defense Minister Thabit al-Abbasi reached the area where the attack took place and ordered an investigation, the ministry's statement said.
Despite the defeat of the ISIS militant group in 2017, remnants of the group switched to hit-and-run attacks against government forces in different parts of Iraq.