The rulers of Aleppo ruled as kings, Emirs and Sultans of the city and its region since the later half of the 3rd millennium BC, starting with the kings of Armi, followed by the Amorite dynasty of Yamhad, and ending with the Ayyubid dynasty which was ousted by the Mongol conquest in 1260.
The rulers of Yamhad used the Titles of King and Great King, the Hittite dynasty monarchs used the titles of king and viceroy.
The Emirate of Halab was established in 945 by the Hamdanid dynasty and lasted until 1086, when it was elevated to the rank of Sultanate under the Seljuq dynasty, the sultanate was sometimes ruled along with Damascus by the same sultan.
The Artuqids rulers used the Titles of King (Malik) and Emir, so did the Zengid rulers in addition to the title Atabeg, while the Ayyubid monarchs used the titles of Sultan and Malik
The dates for Yamhad and the Hittite Dynasties are proximate and calculated by the Middle chronology.
Yamhad was the name of the Amorite kingdom centered at Ḥalab (modern day Aleppo), its dynasty ruled for more than two centuries, Aleppo became a major power and dominated Northern Syria with the monarch holding the title of Great King.
Aleppo was conquered by Mursili I King of the Hittites, who captured Hammurabi III, the dynasty regained Halab after the assassination of Mursili but the "Yamhad" name fell out of use.
Parshatatar of Mitanni conquered Aleppo, and the city became part of that kingdom until conquered by Suppiluliuma I of the Hittites in the 14th century BC. Suppiluliuma installed his son Telipinus as king of Aleppo. Not all the kings of this dynasty are known. The Hittite dynasty remained in power until the Late Bronze Age collapse.