Question: what qasem soleimani was doing in iraq?
Answer: Soleimani had a significant role in Iran's fight against ISIL in Iraq. He was described as the "linchpin" bringing together Kurdish and Shia forces to fight ISIS, overseeing joint operations conducted by the two groups.