The medina is the old city of Marrakesh, and the casbah is a fortified palace that was built in the 12th century. It is now a UNESCO World Heritage Site.