maintained friendly relations with Assyria, Egypt and the Hittites throughout his reign. Kadashman-Enlil I (1374–1360 BC) succeeded him, and continued his diplomatic policies. Burna-Buriash II ascended to the throne in 1359 BC, he retained friendly relations with Egypt, but the resurgent Middle Assyrian Empire (1365–1050 BC) to the north was now encroaching into northern Babylonia, and as a symbol of peace, the Babylonian king took the daughter of the powerful Assyrian king Ashur-uballit I in marriage. He also maintained friendly relations with Suppiluliuma I, ruler of the Hittite Empire. He was succeeded by Kara-ḫardaš (who was half Assyrian, and the grandson of the Assyrian king) in 1333 BC, a usurper named Nazi-Bugaš deposed him, enraging Ashur-uballit I, who invaded and sacked Babylon, slew Nazi-Bugaš, annexed Babylonian territory for the Middle Assyrian Empire, and installed Kurigalzu II (1345–1324 BC) as his vassal ruler of Babylonia. Soon after Arik-den-ili succeeded the throne of Assyria in 1327 BC, Kurigalzu II attacked Assyria in an attempt to reassert Babylonian power. After some impressive initial successes he was ultimately defeated, and lost yet more territory to Assyria. Between 1307 BC and 1232 BC his successors, such as Nazi-Maruttash, Kadashman-Turgu, Kadashman-Enlil II, Kudur-Enlil and Shagarakti-Shuriash, allied with the empires of the Hittites and the Mitanni (who were both also losing swathes of territory to the resurgent Assyrians), in a failed attempt to stop Assyrian expansion. This expansion, nevertheless, continued unchecked. Kashtiliash IV's (1242–1235 BC) reign ended catastrophically as the Assyrian king Tukulti-Ninurta I (1243–1207 BC) routed his armies, sacked and burned Babylon and set himself up as king, ironically becoming the first native Mesopotamian to rule the state, its previous rulers having all been non-Mesopotamian Amorites and Kassites. Kashtiliash himself was taken to Ashur as a prisoner of war. An Assyrian governor/king named Enlil-nadin-shumi was placed on the throne to rule as viceroy to Tukulti-Ninurta I, and Kadashman-Harbe II and Adad-shuma-iddina succeeded as Assyrian governor/kings, subject to Tukulti-Ninurta I until 1216 BC. Babylon did not begin to recover until late in the reign of Adad-shuma-usur (1216–1189 BC), as he too remained a vassal of Assyria until 1193 BC. However, he was able to prevent the Assyrian king Enlil-kudurri-usur from retaking Babylonia, which, apart from its northern reaches, had mostly shrugged off Assyrian domination during a short period of civil war in the Assyrian empire, in the years after the death of Tukulti-Ninurta. Meli-Shipak II (1188–1172 BC)