The most dramatic entry to the kasbah is through the enormous Almohad gate of Bab Oudaia, built in 1195. Its location, facing the heart of the city and just outside the original palace, made it more ceremonial than defensive and the gateway is elaborately decorated with a series of carved arches. These days, it is only occasionally open and most people enter through a much smaller gate next to it.