An alcázar (Spanish: [alˈkaθar], Galician: [alˈkaθaɾ]), alcácer (Portuguese: [ɐɫˈkasɛɾ]) or alcàsser (Catalan: [əɫˈkasər]) is a type of castle in Spain and Portugal built by kings to live in. The term derives from the Arabic word القصر (trans. al-qasr) meaning "fort, castle or palace" while the Arabic word is possibly in turn derived from the Latin word 'castrum', meaning an army camp or fort. Many cities in Spain have an alcázar; Spain also has Moorish citadels known as alcazabas. - https://en.wikipedia.org/wiki/Alc%C3%A1zar