In 1800 B.C. the Amorite king, Hammurabi, took the throne of the new Babylonian dynasty. He was the sixth king of the first dynasty of Babylon. Immediatley he began to expand his new empire to eventually include Assyria and northern Syria. Hammurabi was a great military leader and lawgiver. In the first year of his reign Hammurabi fulfilled a promise to the Babylonian god Marduk and established an extensive law system which encompassed nearly every area of ancient life. The document was over 300 paragraphs long and included sections on social, moral, religious, commercial and civil law.