From 1644 to 1674, the indigenous peoples of the area that is modern Mauritania made what became their final effort to repel the Yemeni Maqil Arabs who were invading their territory. This effort, which was unsuccessful, is known as the Char Bouba war. The invaders were led by the Beni Hassan tribe. The descendants of the Beni Hassan warriors became the upper stratum of Moorish society. Hassaniya, a bedouin Arabic dialect named for  the Beni Hassan, became the dominant language among the largely nomadic population.