Karim returned to Iraq in 2009 to stand for the Kurdistan Alliance in the
parliamentary election, and was elected as a member of parliament for Kirkuk. He was subsequently elected as governor of Kirkuk Governorate by
Kirkuk's Governorate Council on 29 March 2011. He was sworn in as the governor on 3 April 2011. Dr. Karim was the head of the Patriotic Union of Kurdistan's Kirkuk list in the 2014 general elections where he drew enormous support across ethnic groups with over 150,000 votes. This led to the Kurdish dominance in provincial representation. Dr. Karim's non-partisan work for all Kirkukis became evident at the polls. On 14 September 2017, Karim was removed from the governorship by Iraqi parliament for holding the
Kurdish referendum in Kirkuk. Karim however stated he will not follow the dismissal order and will stay in office. The provincial council meanwhile condemned the decision of the parliament with council head Ribwar al-Talabani claiming only the council had the power to remove him. In October 2017, Karim had to leave the city of
Kirkuk after Iranian backed militias and the Iraqi federal army entered the province. Baghdad also ordered his arrest in September 2017 in connection with the referendum. In the following May, the Kirkuk Court of Appeal issued a warrant for his arrest and an order to seize his assets. He was accused of corruption in connection with Project "Kirkuk Eagle", which aimed to wirelessly monitor vehicle movements into and out of the province to prevent theft, which the court claimed was a fraud. He was arrested in Lebanon in May 2019 on an Interpol request, although released after several days after Iraqi Kurdish officials intervened. In October, it was announced that the Supreme Anti-Corruption Council had referred his case to stand trial. ==Personal life==