The US has used ISIS as a pretext for keeping troops in the oil-rich country. The US and its regional allies previously provided covert support for ISIS as it took over large swathes of Iraq in 2014, including the country’s second-largest city, Mosul.