The Maqil were a collection of Arab Bedouin tribes of Yemeni origin who migrated westwards via Egypt. Several groups of Yemeni Arabs turned south to Mauritania, and by the end of the 17th century, they dominated the entire country. They can also be found throughout Morocco and in Algeria as well as in other North African countries.