Original: The early medieval Rustamid dynasty in Algeria was Ibadi , and refugees from its capital Tahert founded the North African Ibadi communities which exist today in the Mozabite Valley .
Simplified: The early medieval Rustamid dynasty in Algeria was Ib , and refugees from its capital Tahert founded the North African Ib communities which exist today .