Sargon was from a group of people called the Semites. The only difference between the Semites and the Sumerians were linguistics. Semites spoke many different languages like Akkadian, Hebrew, and Canaanite. The Sumerian people adapted the Akkadian language. Sargon and his successors ruled from Akkad until 2230 B.C, when internal disagreement ended the Akkadian kingdom. The Sumerians regained control of southern Mesopotamia and established the Third Dynasty of Ur. The ruler of this dynasty was Ur-Nammu. He was the first ruler to establish law codes and spell out regulations and penalties. .
Another great ruler was King Hammurabi of Babylon. He set up the Code of Hammurabi, which includes 300 sections of carefully organized codes that ruled the Babylonians. Hammurabi was the first example of a lawgiver. He provided one of the greatest written documents of his time: a stone column with a long series of legal judgments published with his name. Hammurabi even designed codes for the family life. He took care of the women and children in his society. He regulated marriage with care to secure a stable life for future generations. He combined both law and religious belief to create an ordered society. The Mesopotamians built on foundations laid by the Sumerians using their sexagesimal system. They had multiplication tables, exponents, tables for computing interest, and textbooks with problems for solution. They also developed systems of astrology and astronomy, and even created a lunar calendar. .
The early cities of Mesopotamia fell from one warlord to another, and were constantly changing, unlike the kingdoms of Ancient Egypt that kept its stability. The Egyptians lived along the Nile River, which probably made it easier to govern the people. The King was the owner and ruler of all Egypt and was considered a god by the people. The economy was a royal monopoly, the peoples duties was to serve the King.