An alcázar ( /ˈæl kəˌzɑːr/)[1] is a type of Moorish castle or palace in Spain and Portugal built during Muslim rule, although some were founded by Christians and others were built on earlier Roman or Visigothic fortifications. Most of the alcázars were built between the 8th and 15th centuries. Many cities in Spain have an alcázar.