Babylon is the most famous city from ancient Mesopotamia whose ruins lie in modern-day Iraq 59 miles (94 kilometres) southwest of Baghdad.
The name is thought to derive from bav-il or bav-ilim which, in the Akkadian language of the time, meant ‘Gate of God’ or `Gate of the Gods’ and `Babylon’ coming from Greek.
The city owes its fame (or infamy) to the many references the Bible makes to it; all of which are unfavourable. In the Book of Genesis, chapter 11, Babylon is featured in the story of The Tower of Babel and the Hebrews claimed the city was named for the confusion which ensued after God caused the people to begin speaking in different languages so they would not be able to complete their great tower to the heavens (the Hebrew word bavel means `confusion’).

Babylon also appears prominently in the biblical books of Daniel, Jeremiah, and Isaiah, among others, and, most notably, The Book of Revelation. It was these biblical references which sparked interest in Mesopotamian archaeology and the expedition by the German archaeologist Robert Koldewey who first excavated the ruins of Babylon in 1899 CE. Outside of the sinful reputation given it by the Bible, the city is known for its impressive walls and buildings, its reputation as a great seat of learning and culture, the formation of a code of law which pre-dates the Mosaic Law, and for the Hanging Gardens of Babylon which were man-made terraces of flora and fauna, watered by machinery, which were cited by Herodotus as one of the Seven Wonders of the World.

Babylon was founded at some point prior to the reign of Sargon of Akkad (also known as Sargon the Great) who ruled from 2334-2279 BCE and claimed to have built temples at Babylon (other ancient sources seem to indicate that Sargon himself founded the city). At that time, Babylon seems to have been a minor city or perhaps a large port town on the Euphrates River at the point where it runs closest to the river Tigris.
Whatever early role the city played in the ancient world is lost to modern-day scholars because the water level in the region has risen steadily over the centuries and the ruins of Old Babylon have become inaccessible. The ruins which were excavated by Koldewey, and are visible today, date only to well over one thousand years after the city was founded. The historian Paul Kriwaczek, among other scholars, claims it was established by the Amorites following the collapse of the Third Dynasty of Ur. This information, and any other pertaining to Old Babylon, comes to us today through artifacts which were carried away from the city after the Persian invasion or those which were created elsewhere.

The known history of Babylon, then, begins with its most famous king: Hammurabi (1792-1750 BCE). This obscure Amorite prince ascended to the throne upon the abdication of his father, King Sin-Muballit, and fairly quickly transformed the city into one of the most powerful and influential in all of Mesopotamia. Hammurabi’s law codes are well known but are only one example of the policies he implemented to maintain peace and encourage prosperity. He enlarged and heightened the walls of the city, engaged in great public works which included opulent temples and canals, and made diplomacy an integral part of his administration. So successful was he in both diplomacy and war that, by 1755 BCE, he had united all of Mesopotamia under the rule of Babylon which, at this time, was the largest city in the world, and named his realm Babylonia.

exracted from https://www.ancient.eu/Babylon/