In 3-4 sentences Who were the Moors, and how did they affect Spain during their rule?

The Moors were Muslim inhabitants of North Africa who invaded and conquered the Iberian Peninsula (modern-day Spain and Portugal) in the 8th century. They ruled over much of the region for nearly 800 years, during which time they brought advanced mathematics, science, and architecture to the area. The Moors also played a significant role in the development of the Spanish language and culture, leaving a lasting impact on Spain's history and identity.