They were facing threats from German Vikings
Answer:
The Great Mosque of Cordoba. Known locally as Mezquita-Catedral, the Great Mosque of Cordoba is one of the oldest structures still standing from the time Muslims ruled Al-Andalus (Muslim Iberia including most of Spain, Portugal, and a small section of Southern France) in the late 8th century.
Explanation:
They wanted to get away from Asian rulers