title continued during the following Third Dynasty of Ur period. A princess of Mari married the son of king Ur-Nammu of Ur, and Mari was nominally under Ur hegemony. However, the vassalage did not impede the independence of Mari, and some Shakkanakkus used the royal title Lugal in their votive inscriptions, while using the title of Shakkanakku in their correspondence with the Ur's court. The dynasty ended for unknown reasons not long before the establishment of the next dynasty, which took place in the second half of the 19th century BC. The Lim dynasty The second millennium BC in the Fertile Crescent was characterized by the expansion of the Amorites, which culminated with them dominating and ruling most of the region, including Mari which in c. 1830 BC, became the seat of the Amorite Lim dynasty under king Yaggid-Lim. However, the epigraphical and archaeological evidences showed a high degree of continuity between the Shakkanakku and the Amorite eras. Yaggid-Lim was the ruler of Suprum before establishing himself in Mari, he entered an alliance with Ila-kabkabu of Ekallatum, but the relations between the two monarchs changed to an open war. The conflict ended with Ila-kabkabu capturing Yaggid-Lim's heir Yahdun-Lim and according to a tablet found in Mari, Yaggid-Lim who survived Ila-kabkabu was killed by his servants. However, in c. 1820 BC Yahdun-Lim was firmly in control as king of Mari. Yahdun-Lim started his reign by subduing seven of his rebelling tribal leaders, and rebuilding the walls of Mari and Terqa in addition to building a new fort which he named Dur-Yahdun-Lim. He then expanded west and claimed to have reached the Mediterranean, however he later had to face a rebellion by the Banu-Yamina nomads who were centered at Tuttul, and the rebels were supported by Yamhad's king Sumu-Epuh, whose interests were threatened by the recently established alliance between Yahdun-Lim and Eshnunna. Yahdun-Lim defeated the Yamina but an open war with Yamhad was avoided, as the Mariote king became occupied by his rivalry with Shamshi-Adad I of Shubat-Enlil, the son of the late Ila-kabkabu. The war ended in a defeat for Mari, and Yahdun-Lim was assassinated in c. 1798 BC by his possible son Sumu-Yamam, who himself got assassinated two years after ascending the throne while Shamshi-Adad advanced and annexed Mari. The Assyrian era and the Lim restoration Shamshi-Adad appointed his son Yasmah-Adad on the throne of Mari, the new king married