Babylonia was a state in ancient Mesopotamia. The city of Babylon, whose ruins are located in present-day Iraq, was founded more than 4,000 years ago as a small port town on the Euphrates River. It grew into one of the largest cities of the ancient world under the rule of Hammurabi.