The latter happened in North Africa: the Beys/Deys of Tunis and Algiers established themselves as 'regencies' and even Egypt went its own way under its great khedive Mohammed Ali - they would in turn be subjected to European colonial dominance, as protectorates, of France and Britain.