Muslim dynasty that ruled in North Africa (972–1148).