Ur (ʊər; Sumerian: , , or Urim; 𒋀𒀕𒆠 Uru; ʾūr; ʾūr) was an important Sumerian city-state in ancient Mesopotamia, located at the site of modern Tell el-Muqayyar (تل ٱلْمُقَيَّر) in south Iraq's Dhi Qar Governorate in Mesopotamia. Although Ur was once a coastal city near the mouth of the Euphrates on the Persian Gulf, the coastline has shifted and the city is now well inland, on the south bank of the Euphrates, from Nasiriyah in modern-day Iraq. The city dates from the Ubaid period circa 3800 BC, and is recorded in written history as a city-state from the 26th century BC, its first recorded king being Mesannepada.
The city's patron deity was Nanna (in Akkadian, Sin), the Sumerian and Akkadian moon god, and the name of the city is in origin derived from the god's name, UNUGKI, literally "the abode (UNUG) of Nanna". The site is marked by the partially restored ruins of the Ziggurat of Ur, which contained the shrine of Nanna, excavated in the 1930s. The temple was built in the 21st century BC (short chronology), during the reign of Ur-Nammu and was reconstructed in the 6th century BC by Nabonidus, the last king of Babylon. The ruins cover an area of northwest to southeast by northeast to southwest and rise up to about above the present plain level.
The city, said to have been planned by Ur-Nammu, was apparently divided into neighbourhoods, with merchants living in one quarter, artisans in another. There were streets both wide and narrow, and open spaces for gatherings. Many structures for water resource management and flood control are in evidence. Houses were constructed from mudbricks and mud plaster. In major buildings, the masonry was strengthened with bitumen and reeds. For the most part, foundations are all that remain today. People were often buried (separately and alone; sometimes with jewellery, pots, and weapons) in chambers or shafts beneath the house floors.
Ur was surrounded by sloping ramparts high and about wide, bordered in some places by a brick wall. Elsewhere, buildings were integrated into the ramparts.