 The biggest enemies of the Zands, the Qajar chiefs, led by the former hostage, Agha Mohammad Khan, were advancing fast against the declining kingdom.Finally, in 1789, Lotf Ali Khan, a grand-nephew of Karim Khan, declared himself the new king.His reign (until 1794) was spent mostly in war with the Qajar khan.