Andalusia in Málaga and Seville." Following the Second Rebellion of the Alpujarras in 1568-1571, the Moorish population—that is, unconverted Moriscos—were expelled from Kingdom of Castile (and Aragon). However, by order of the Spanish crown, two Moorish families were required to remain in each village in order to demonstrate to the new inhabitants, introduced from northern Spain, the workings of the terracing and irrigation systems on which the district's agriculture depends. In 1810–12 the people strongly resisted the French occupation during the Peninsular War (part of the Napoleonic Wars). Andalusia profited from the Spanish overseas empire, although much trade and finance eventually
Andalusia own unique customs that represent a fusion of Catholicism and local folklore. Traditional dress in all areas of Andalusia tends to be colorful and involve various head coverings reminiscent of a Muslim past. Cities like Almería have been influenced historically by both Granada and Murcia in the use of traditional head coverings. The "sombrero de Labrador", a worker's hat made of black velvet, is a signature style of the region. In Cádiz, traditional costumes with rural origins are worn at bullfights and at parties on the large estates. The "tablao flamenco" dance and the accompanying "cante jondo" vocal style originated