One soldier was killed, and dozens of soldiers and police officers were injured during the clashes, according to security sources.
ISIL-led militants took control of Rawa and Anah, two towns in the western province of Anbar earlier Saturday, the same sources said, adding that the militants faced no resistance after the Iraqi army troops pulled out of the region.
ISIL has made headlines since June 10, when it seized neighboring Iraq's second-largest city, Mosul, and soon afterwards took near-complete control of the northern Iraqi cities of Tikrit and Tal Afar.