The palace complex is also notable for its highly developed infrastructure. Its water supply was particularly sophisticated for the time, making use of an early version of indoor plumbing which distributed water to buildings throughout the Kasbah via canals and underground terracotta pipes. This water was drawn directly from the phreatic table in the so-called House of the Ten Norias (or Dar al-Ma) using a mechanical hydraulic system of chained buckets turned by a wheel.[1][2][3] This water supply and underground plumbing system is considered to be a century ahead of the infrastructure found in contemporary European palaces and constructions.[4][26][5]:194