Babylon was initially a minor city-state, and controlled little surrounding territory; its first four Amorite rulers did not assume the title of king. The older and more powerful states of Assyria, Elam, Isin, and Larsa overshadowed Babylon until it became the capital of Hammurabi's short lived empire about a century later. Hammurabi (r. 1792–1750 BC) is famous for codifying the laws of Babylonia into the Code of Hammurabi. He conquered all of the cities and city states of southern Mesopotamia, including Isin, Larsa, Ur, Uruk, Nippur, Lagash, Eridu, Kish, Adab, Eshnunna, Akshak, Akkad, Shuruppak, Bad-tibira, Sippar, and Girsu, coalescing them into one kingdom, ruled from Babylon. Hammurabi also invaded and conquered Elam to the east, and the kingdoms of Mari and Ebla to the northwest. After a protracted struggle with the powerful Assyrian king Ishme-Dagan of the Old Assyrian Empire, he forced his successor to pay tribute late in his reign, spreading Babylonian power to Assyria's Hattian and Hurrian colonies in Asia Minor.