What Happened to the Muslim Majority of Portugal and Spain?

For centuries, the regions now known as Spain and Portugal were dominated by Muslim states. During this era, known as Al-Andalus, Islam thrived culturally and religiously. However, by the 17th...