ISIS flag
ISIS FlagReuters

The Islamic State fighters on Thursday launched an attack on the western Iraqi town of al-Baghdadi, taking control of most parts and even reaching the airbase where US Marines are training Iraqi troops.

The jihadists attacked the town of al-Baghdadi, in Iraq's Anbar province, from two sides early on Thursday, and then took control of almost '90 percent' of the town, including government buildings, according to Iraqi officials. 

The ISIS militants also reached up to the Ain al-Asad air base, which lies five kilometres southwest of the town, where at least 320 US Marines are training Iraqi troops. The militants, reportedly did not launch a direct attack on the airbase. 

"There were reports of ineffective indirect fire in the vicinity of the base," Pentagon spokeswoman Navy Commander Elissa Smith said, according to Reuters. 

The casualties from the heavy fighting in the town were not confirmed.