Babylon was a key kingdom in ancient Mesopotamia from the 18th to 6th centuries BC.