The fortifications of the Kasbah were at their most extensive to the north, on the side facing the city, suggesting that Moulay Isma'il saw the city's inhabitants as an equal or even greater threat.[1] For much of their length here the walls were doubled, consisting of two lines of ramparts with a clearing between them, with the outer wall generally being the most fortified. Another line of fortified walls also enclosed the Dar al-Kebira palaces, providing this part of the Kasbah with three layers of defense.[19][2]:407