Sayyida al-Hurra and her family fled Spain for Morocco, where, after marrying and burying her first husband, she succeeded him as the governor of Tétouan before remarrying — this time into royalty. When Sayyida wed Ahmed al-Wattasi, the sultan of Morocco and ruler of Fes, she became queen of Morocco.
Holding a grudge, and feeling a great deal of shame over her fallen childhood homeland and its takeover by Ferdinand and Isabella, Sayyida became hell-bent on revenge. She reached out to the famed Barbarossa, an Ottoman admiral and among the most successful corsairs, to ally with the pirates in seizing control of the nearby seas. Sayyida and her privateers would eventually take over the Western Mediterranean during the corsairs’ and Ottomans’ reign in the early 16th century.
To this day, she’s remembered as a free and independent noblewoman who made the king of Morocco come to her to marry — the first time a royal had left the capital to wed.
read more here