Aguilar de la Frontera

Aguilar de la Frontera
Flag of Aguilar de la Frontera
Coat of arms of Aguilar de la Frontera
Aguilar de la Frontera is located in Andalusia
Aguilar de la Frontera
Aguilar de la Frontera
Location within Andalusia
Aguilar de la Frontera is located in Spain
Aguilar de la Frontera
Aguilar de la Frontera
Location within Spain
Coordinates: 37°24′50″N 4°29′18″W / 37.41389°N 4.48833°W / 37.41389; -4.48833
CountrySpain
Autonomous communityAndalusia
ProvinceCórdoba
Area
 • Total
166.48 km2 (64.28 sq mi)
Elevation
379 m (1,243 ft)
Population
 (2025-01-01)
 • Total
13,130
 • Density78.87/km2 (204.3/sq mi)
Time zoneUTC+1 (CET)
 • Summer (DST)UTC+2 (CEST)
Postal code
14920
Preview warning: Page using Template:Infobox settlement with deprecated parameter timezone. Replace with time_zone.
Preview warning: Page using Template:Infobox settlement with deprecated parameter image_caption. Replace with caption.
Preview warning: Page using Template:Infobox settlement with deprecated parameter timezone_DST. Replace with time_zone_DST.
Preview warning: Page using Template:Infobox settlement with deprecated parameter pushpin_mapsize. Replace with pushpin_map_size.
Preview warning: Page using Template:Infobox settlement with deprecated parameter image_skyline. Replace with image.

Aguilar de la Frontera is a Spanish municipality and town in the province of Córdoba, Andalusia.

Aguilar is located near the river Cabra, in the hilly natural region of the Campiña de Córdoba in between the Guadalquivir and the fringes of the Subbaetic ranges. It lies on the route (A-45) connecting Córdoba and Málaga.

As Ancient Ipagro, it was the seat of a bishopric. Known as Bulay in the Islamic period and possessing a fortress (ḥiṣn) since the 9th century, the place changed its name to Aguilar after capitulating and passing to Christian control in 1240, soon becoming the head of the first nobiliary lordship in Andalusia (thus in the Kingdom of Córdoba), as it was gifted by the monarch in 1257. During the late middle ages, it thrived as the head of the House of Aguilar, under the Fernández de Córdoba. The town's 19th-century octagonal plaza stands out as an instance of neoclassical urbanism.

Demographics are stagnant and, similarly to other municipalities in the area, population does not exceed the one it had in the 1960s.