Banu Thabit
The Banu Thabit or Banu 'Ammar were a Berber dynasty that ruled Tripoli in present-day Libya during the 14th century. Their rule began with Thabit ibn 'Ammar, who took control of the city from the Hafsids of Tunis. His successors ruled nominally on behalf of the Hafsids but were mostly autonmous. Their rule was interrupted by the Genoese capture of Tripoli in 1354–1355, but they were able to retake the city in 1369–1370. Their rule definitely ended with the Hafsid reconquest of the city in 1401.