Mairena del Alcor History. Arabian pearl

Its name may have come form the Arab Maharana, meaning ‘water from the spring’, signifying plenty and abundance of water in the area.

The numerous remains discovered seem to indicate that the first settlements date back to the Chalcolithic.

During the period of Al-Andalus the castle, which still exists, was built.

The Christian conquest was undertaken by Ferdinand III in 1247.

Alphonso XI ceded Mairena del Alcor to the Duke of Osuna in 1342. The latter built his palace in the town. Later it passed to the marqués de Cádiz, Rodrigo Ponce de León, who rebuilt the castle.

The town grew considerably between the 18th and 19th centuries.

From: http://www.andalucia.org/en/destinations/provinces/sevilla/municipalities/mairena-del-alcor/history/