The area stretching northwest from Iglesia de San Andrés to the viaduct was the heart of the morería (Moorish Quarter). Strain the imagination a little and the maze of winding and hilly lanes even now retains a whiff of the North African medina. This is where the Muslim population of Mayrit was concentrated in the wake of the 11th-century Christian takeover of the town.