Idris II came to the throne at the age of eleven. His tomb is located in Moulay Idriss, a village up on a mountainside near Volubilis. Idriss II's descendants ruled the country until the second half of the 10th century, when they lost their authority to the invasions of the Zenata, an Amazigh tribe under the orders of the Fatimid Caliphate, later the Caliph of Cordoba.