In 1492 the fall of Granada in Spain was followed by the Rebellion of the Alpujarras (1499–1501) and the expulsion of many Muslims from the domains of Castile and Aragon. Many of those who had been expelled established themselves in the cities of North Africa and took to corsairing, attacking Christian shipping. Around 1500 Oruç Reis and his brother Hayreddin Barbarossa from Lesbos established themselves in the port of La Goulette near Tunis with two raiding galiots. Abu Abdallah Muhammad allowed them to operate from his port in return for a share of their booty.