An Elamite invasion in 2004 BC brought the Ur III kingdom to an end. By the mid 21st century BC, the Akkadian speaking kingdom of Assyria had risen to dominance in northern Iraq. Assyria expanded territorially into the north eastern Levant, central Iraq, and eastern Anatolia, forming the Old Assyrian Empire (circa 2035–1750 BC) under kings such as Puzur-Ashur I, Sargon I, Ilushuma and Erishum I, the latter of whom produced the most detailed set of law yet written. The south broke up into a number of Akkadian speaking states, Isin, Larsa and Eshnunna being the major ones.