We already hear of them as attacking Babylonia in the 9th year of Samsu-iluna the son of Khammurabi, and about 1780 B.C. they overran Babylonia and founded a dynasty there which lasted for 576 years and nine months.
At all events he gives 30 years of reign to Sinmuballidh instead of the 20 assigned to him in a list of dates drawn up at the time of Ammi-zadok's accession, 55 years to Khammurabi instead of 43, and 35 years to Samsu-iluna instead of 38, while he omits altogether the seven years' reign of the Assyrian king TukultiIn-aristi at Babylon.
They were overthrown and Babylonia was conquered by Kassites or Kossaeans from the mountains of Elam, with whom Samsu-iluna had already come into conflict in his 9th year.
Samsu-iluna, 38 years.
It finally lost its independence under Samsu-iluna, son of Khammurabi, c. 1900 B.C., and from that time until the close of the Babylonian period it was a subject city of Babylon.