Iran was the first country to pledge assistance to Iraq to fight ISIL, deploying troops in early June 2014 following the North Iraq offensive.