 By 1760, Karim Khan had defeated all his rivals and controlled all of Iran except Khorasan, in the northeast, which was ruled by Shah Rukh.His foreign campaigns against Azad Khan in Azerbaijan and against the Ottomans in Mesopotamia brought Azerbaijan and the province of Basra into his control.But he never stopped his campaigns against his arch-enemy, Mohammad Hassan Khan Qajar, the chief of the Qoyunlu Qajars.