Vejer's much-reworked castle, once home of the Duques de Medina Sidonia, dates from the 10th or 11th century. You can wander through the Moorish entrance arch, past the original rainwater aljibe (cistern), and climb the hibiscus-fringed ramparts for fantastic views across town to the white-sand coastline.