What type of government did the almoravid caliphate have?

A monarchy