page_title: List of castles in Spain
section_title: Almería
hierarchical_section_title: List of castles in Spain / Andalucía / Almería
caption_attribution_description: Español: Fotografía de la entrada del castillo de Guardias Viejas en El Ejido, provincia de Almería, Andalucía, España, visto desde el noreste.
context_page_description: The castles in Spain were built mainly for the country's defense, particularly with respect to fortification. During the Middle Ages, northern Christian kingdoms had to secure their borders with their Muslim southern neighbours, thus forcing both Christian and Muslim kings to grant border fiefs to their liege noblemen so as to keep and maintain defensive fortresses. When the Reconquista advanced, those border castles lost their initial purpose, and, as in the rest of medieval Europe, they were used as noble residences and fief-keeps. Sporadic threats of war maintained their initial military purposes as enemy invasions were common. In some locations, such as the Basque country, fiefdoms did not exist as such, and noble families could not afford nor did they need huge fortresses, giving rise to many tower houses. In Muslim Spain many castle-palaces were built: the petty taifa kingdoms that arose after the fall of the Caliphate of Córdoba were militarily weak thus castles began taking on a more aesthetic purpose.
context_section_description: Alcazaba of Almería
  Castle of San Pedro
  Castle of Cuevas del Almanzora
  Castle of Gérgal
  Castle of Huebro
  Castle of San Cristóbal (Almería)
  Castle of San Juan de los Terreros
  Castle of Tabernas
  Castle of Vélez-Blanco
  Castle of the Peñón de las Juntas, Abla
  Casa Fuerte de la Cruceta
  El Castillejo (Abrucena), Abrucena
  Battery of Guardias Viejas
  Battery of San Felipe
  Battery of San Ramón
  Castle of Santa Ana
  Atalaya of San Miguel (Almería)
  Atalaya of the Perdigal, Almería
  Tower of Cárdenas
  Tower García
  Tower of la Garrofa (Almería)
  Tower of Macenas
  Tower of Medala (Tahal)
  Tower of la Vela Blanca, Níjar
  Houses Forts (Almería)
  Walls of Adra
  Caliphate Walls of Almería
  Castillo de las Escobetas, Garrucha
caption: Battery of Guardias Viejas
exif: {"Image Make": "FUJIFILM", "Image Model": "FinePix S5500", "Image Software": "Digital Camera FinePix S5500   Ver1.00", "Image DateTime": "2004:01:02 20:50:26", "Image YCbCrPositioning": "Co-sited", "Image Copyright": "", "Image ExifOffset": "230", "Image PrintIM": "[80, 114, 105, 110, 116, 73, 77, 0, 48, 50, 53, 48, 0, 0, 2, 0, 2, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0]", "EXIF ExposureTime": "1/400", "EXIF FNumber": "28/5", "EXIF ExposureProgram": "Program Normal", "EXIF ISOSpeedRatings": "64", "EXIF ExifVersion": "0220", "EXIF DateTimeOriginal": "2004:01:02 20:50:26", "EXIF DateTimeDigitized": "2004:01:02 20:50:26", "EXIF ComponentsConfiguration": "YCbCr", "EXIF CompressedBitsPerPixel": "2", "EXIF ShutterSpeedValue": "433/50", "EXIF ApertureValue": "5", "EXIF BrightnessValue": "473/50", "EXIF ExposureBiasValue": "0", "EXIF MaxApertureValue": "3", "EXIF MeteringMode": "Pattern", "EXIF LightSource": "Unknown", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "111/5", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "2272", "EXIF ExifImageLength": "1704", "EXIF FocalPlaneXResolution": "4255", "EXIF FocalPlaneYResolution": "4255", "EXIF FocalPlaneResolutionUnit": "3", "EXIF SensingMethod": "One-chip color area", "EXIF FileSource": "Digital Camera", "EXIF SceneType": "Directly Photographed", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Auto", "EXIF SceneCaptureType": "Standard", "EXIF Sharpness": "Normal", "EXIF SubjectDistanceRange": "0"}