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
History of the Spanish language either laminodental ("seseo", in the Americas and parts of Andalusia) or ("ceceo", in a few parts of Andalusia). In general, coastal regions of Andalusia preferred , and more inland regions preferred (see the map at ceceo). During the colonization of the Americas, most settlers came from the south of Spain; that is the cause, according to almost all scholars, for newly all Spanish-speakers in the New World still speaking a language variety derived largely from the Andalusian dialect. Meanwhile, the alveopalatal fricative , the result of the merger of voiceless (spelled ⟨x⟩ in Old Spanish) with voiced (spelled with ⟨j⟩