The palaces of the early Mesopotamian elites were large-scale complexes, and were often lavishly decorated. Earliest known examples are from the Diyala River valley sites such as Khafajah and Tell Asmar. These third millennium BC palaces functioned as large-scale socio-economic institutions, and therefore, along with residential and private functions, they housed craftsmen workshops, food storehouses, ceremonial courtyards, and are often associated with shrines. For instance, the so-called "giparu" (or Gig-Par-Ku in Sumerian) at Ur where the Moon god Nanna's priestesses resided was a major complex with multiple courtyards, a number of sanctuaries, burial chambers for dead priestesses, and a ceremonial banquet hall. A similarly complex example of a Mesopotamian palace was excavated at Mari in Syria, dating from the Old Babylonian period.