El Carpio

El Carpio is a city located in the province of Córdoba, Spain. According to the 2006 census (INE), the city has a population of 4,477 inhabitants.
History.
El Carpio was tied to the Kingdom of Castile as early as the 1300s when the Señorio del Castillo de Carpio was founded in 1325 by Garcí Méndez II de Sotomayor.
The Señorio del Castillo de Carpio was elevated to the level of the Marquesado del Carpio granted by King Phillip II of Spain in 1559. The title was bestowed upon Diego Lopez de Haro y Sotomayor on 20 January 1559 in recognition of his services to the crown. Grandeeship was conferred onto the Marquesado by King Philip IV of Spain in 1640 which was granted to Diego de Haro y Haro, V Marques del Carpio and Conde de Morente.