Hammurabi was seen by many as a god within his own lifetime. After his death, Hammurabi was revered as a great conqueror who spread civilization and forced all peoples to pay obeisance to Marduk, the national god of the Babylonians. Later, his military accomplishments became de-emphasized and his role as the ideal lawgiver became the primary aspect of his legacy. For later Mesopotamians, Hammurabi's reign became the frame of reference for all events occurring in the distant past. Even after the empire he built collapsed, he was still revered as a model ruler, and many kings across the Near East claimed him as an ancestor. Hammurabi was rediscovered by archaeologists in the late nineteenth century and has since been seen as an important figure in the history of law.