As in medieval fortifications elsewhere in the world, Moroccan city walls were pierced with a number of gates to grant access in and out of the city. As these were often the weakest points of a defensive wall, they were usually more heavily fortified than the surrounding wall. Most medieval Moroccan gates had a bent entrance: their passage made sharp right-angle turns once or multiple times in order to slow down any attackers. They ranged from very plain in appearance to highly monumental and ornamental. Many of the most monumental gates still standing today were built in stone during the Almohad period, including Bab Agnaou in Marrakesh and the gate of the Udayas Kasbah in Rabat. As the defensive function of city walls and gates became less relevant in the modern era, gates became more ornamental and symbolic structures, like the Bab Bou Jeloud gate built in Fes in 1913.