To the east of the Dar al-Makhzen, occupying a long and irregularly-shaped area along the outer northeastern edge of the royal city, is the Kasbah Hadrash. This kasbah or enclosure was inhabited by soldiers and by the servants of the palace. It had direct access to the eastern mechouar of the palaces (the square in front of Bab al-Makhzen) via two gates, known together as Bab an-Na'ura.