The ceety wis occupeed frae the 3rd millennium BC but became important early in the 2nt millennium unner the keengs o the First Dynasty o Babylon. The saxt keeng o this dynasty wis Hammurabi (1792-1750 BC) who made Babylon the caipital o a vast empire an is best remembered for his code o laws.