Aguilar, or in full Aguilar de la Frontera, is a municipality and town in the province of Córdoba, Andalusia, southern Spain, near the small river Cabra, 50 kilometres from the provincial capital, Córdoba, on the Córdoba-Málaga railway. As Ancient Ipagro, it also was an Ancient/medieval bishopric and remains a Latin Catholic titular see.
The population has remained stable during the past hundred years, numbering 13,653 in 2007.
Wikipedia https://en.wikipedia.org/wiki/Aguilar_de_la_Frontera
Coordinates 37°30'52.908" N -4°39'24.18" E