A regional branch of this dynasty called the (*) Banu Ghaniya held out for more than 50 years after it fell to a revolt of the Masmuda tribe, who were led by Ibn Tumart.
A ruler of this non-Scottish dynasty died when he accidentally rode his horse off a cliff while trying to escape a siege at night. This dynasty employed a company of mercenaries commanded by one of its former prisoners, Reverter de la Guardia. According to some accounts, the five shields on the coat of arms of a foreign king who defeated this dynasty in battle represent five of this dynasty's kings. This dynasty won a battle that gained its common name because so many soldiers died that the ground became slippery with blood. A regional branch of this dynasty called the (*) Banu Ghaniya held out for more than 50 years after it fell to a revolt of the Masmuda tribe, who were led by Ibn Tumart. This dynasty won the Battle of Sagrajas during the partitioned rule of Abu Bakr ibn Umar and Yusuf ibn Tashfin, in addition to losing the Battle of Ourique to Alfonso I of Portugal in 1139. For 10 points, name this Berber dynasty of Morocco and southern Spain that preceded the Almohads.
A ruler of this non-Scottish dynasty died when he accidentally rode his horse off a cliff while trying to escape a siege at night.
Almoravid dynasty