ʿUqba ibn Nāfiʿ ibn ʿAbd al-Qays al-Fihrī al-Qurashī (Arabic: عقبة بن نافع بن عبد القيس الفهري القرشي), also simply known as Uqba ibn Nafi (622–683), was an Arab general serving the Rashidun Caliphate since the reign of Umar and later the Umayyad Caliphate during the reigns of Mu'awiya I and Yazid I, leading the Muslim conquest of the Maghreb, including present-day Libya, Tunisia, Algeria and Morocco and a failed attempt in Nubia. He is credited with establishing Umayyad rule in North Africa. Uqba was the nephew of Amr ibn al-As. He is often surnamed al-Fihri in reference to the Banu Fihr, a clan connected to the Quraysh. His descendants would be known as the ʿUqbids or Fihrids.