El Badi Palace (قصر البديع, Arabic for ‘Palace of the Creator of Wonder’) was built in the 16th-century for Sultan Ahmad al-Mansur and at the time of building was one of the most extravagant buildings. After the end of the Saadian dynasty, the new sultan stripped the palace of its expensive materials, leaving it in the ruined condition it is today. Visit on a guided tour to discover its history and buy a ticket for the museum that houses the pulpit of the Koutoubia Mosque.