In the Old Babylonian and Old Assyrian Empire period, Aleppo's name appears in its original form as Ḥalab (Ḥalba) for the first time. Aleppo was the capital of the important Amorite dynasty of Yamḥad. The kingdom of Yamḥad (c. 1800–1525 BC), alternatively known as the 'land of Ḥalab,' was one of the most powerful in the Near East during the reign of Yarim-Lim I, who formed an alliance with Hammurabi of Babylonia against Shamshi-Adad I of Assyria. Yamḥad was devastated by the Hittites under Mursilis I in the 16th century BC. However, it soon resumed its leading role in the Levant when the Hittite power in the region waned due to internal strife.