Input (grade 10): The Almoravids overrun Morocco and establish a kingdom stretching from Spain to Senegal.
Output (grade 11): Events Founding of Marrakech by the Almoravid dynasty The Almoravids overrun Morocco and establish a kingdom from Spain to Senegal.