Iran's military forces during the Qajar era lacked the standards of a modern army and consisted of cavalry and infantry. In 1779, following the death of Moḥammad Karīm Khān Zand, the Zand dynasty ruler of southern Iran, Āghā Moḥammad Khān (reigned 1779–97), a leader of the Turkmen Qājār tribe, set out to reunify Iran. By 1794 he had eliminated all his rivals, including Loṭf ʿAlī Khān, the last of the Zand dynasty, and had reasserte.