Arab emigration to Fez increased afterwards, including Andalusi families of mixed Arab and Iberian descent[6] who were expelled from Córdoba in 817–818 after a rebellion against the Al-Hakam I,[2]:46[7] as well as Arab families banned from Kairouan (modern Tunisia) after another rebellion in 824. These immigrants gave the city its Arabic character. The Andalusians settled mostly in Madinat Fas, while the Tunisians found their home in Al-'Aliya.