Template:Short description {{#invoke:Infobox|infoboxTemplate |templatestyles = Template:Infobox country/styles.css | bodyclass = ib-country vcard | aboveclass = adr | above = {{#if:Rustamid Imamate

    | {{#if:Rustamid Imamate

|

Rustamid Imamate
       }}{{#if:

|

              }}{{#ifeq:|yes
              |Micronation
       }}

|

}}

| subheader = {{#if: | {{{life_span}}} | {{#if:777<ref>A Chronology of Islamic History, 570-1000 CE - Habib Ur Rahman G.K. Hall, 1989</ref>|777<ref>A Chronology of Islamic History, 570-1000 CE - Habib Ur Rahman G.K. Hall, 1989</ref>{{#if:909|–909 }} }} }}

| image1 = {{#if:

 |Template:Infobox country/imagetable }}

| data1 = {{#if:

|Motto: Template:If empty{{#if:|

{{{englishmotto}}}

}}

   }}

| class2 = anthem | data2 = {{#if:

       |Anthem: Template:If empty
       }}{{#if:
       |Anthems: {{{anthems}}}
       }}{{#if:
       |
Royal anthem: {{{royal_anthem}}}
       }}{{#if:
       |
Flag anthem: {{{flag_anthem}}}
       }}{{#if:
       |
National march: {{{national_march}}}
       }}{{#if:
       |
Territorial anthem: {{{territorial_anthem}}}
       }}{{#if:
       |
Regional anthem: {{{regional_anthem}}}
       }}{{#if:
       |
State anthem: {{{state_anthem}}}
       }}{{#if:
       |
March: {{{march}}}
       }}

| data3 = {{#if:

    |{{#if:
              | Template:If empty
}}Template:If empty }}

| data4 = {{#if:Rustamid territory 9th century.png

|{{#invoke:InfoboxImage|InfoboxImage|image=Rustamid territory 9th century.png|size=|upright=1.15|alt=|title=Approximate extent of Rustamid control in the 9th century }}{{#if:Approximate extent of Rustamid control in the 9th century|

Approximate extent of Rustamid control in the 9th century

}} }}

| data5 = {{#if:

|{{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Rustamid }}{{#if:|

}} }}

| label6 = Status | data6 = {{#if:|Template:Infobox country/status text }}

| label7 = Location | data7 =

| label8 = {{#if: | {{{capital_type}}} | Capital }}{{#ifeq: {{#ifeq:|capital

                        |capital|{{#switch:Tahert
                          | [[]] = capital
                          |  = capital
                          | not capital

}}}}|capital |

and largest city
             }}

| data8 = {{#if:Tahert|Tahert{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }}

| rowclass9 = {{#if:Tahert|mergedrow}} | label9 = Capital-in-exile | data9 = {{#ifexist:|[[]]|}}

| rowclass10 = {{#if:Tahert|mergedrow}} | label10 = {{#if:| {{{admin_center_type}}} | Administrative center }} | data10 = {{#switch:

 |capital | =
 |[[Tahert]] =
 |Tahert =
 |#default = {{{admin_center}}}{{#if:Tahert||{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }} }}

| rowclass11 = {{#if:Tahert|mergedbottomrow}} | label11 = Largest city | data11 = {{#ifeq: {{#ifeq:|capital

                        |capital|{{#switch:Tahert
                          | [[]] = capital
                          |  = capital
                          | not capital
                         }}}}|capital |
              | Template:If empty
              }}

| rowclass12 = mergedtoprow | label12 = Official languages | data12 = | rowclass13 = mergedrow | label13 = {{#if:|Recognized|Recognised}} languages | data13 = Template:If empty | rowclass14 = mergedrow | label14 = {{#if:|Recognized|Recognised}} national languages | data14 = Template:If empty | rowclass15 = mergedrow | label15 = {{#if:|Recognized|Recognised}} regional languages | data15 = Template:If empty | label16 = Common languages | data16 = Berber, Arabic, Persian


| rowclass17 = {{#ifeq:|yes

          |{{#ifeq:|yes |mergedrow}}
          |{{#ifeq:|yes |mergedbottomrow}} }}

| label17 ={{#ifeq:|yes

|

 |Template:If empty
 }}

| data17 =

| rowclass18 = {{#ifeq:|yes |mergedbottomrow}} | label18 = {{#ifeq:|yes

|

 |Template:If empty
 }}

| data18 =

| label19 = Ethnic groups {{#if: |

({{{ethnic_groups_year}}})

|

}}

| data19 =

| label20 = Religion {{#if: |

({{{religion_year}}})

|

}}

| data20 = Ibadi Islam

| label21 = Demonym(s) | data21 = {{#if:

 |{{#ifexist: people
    | [[people|]]
    | 
   }}
 }}

| label22 = Type | data22 =

| label23 = Template:If empty | data23 =

| label24 = {{#if:Imamate<ref>The Transmission of Learning in Islamic Africa - Scott Steven Reese</ref>

    | {{#if:
              | [[{{{politics_link}}}|{{#ifeq:|yes|Organizational structure|Government}}]]| {{#ifexist:Politics of Rustamid
                 | {{#ifeq:|yes|Organizational structure|Government}}| {{#ifeq:|yes|Organizational structure|Government}}}}}}}}

| data24 = Imamate<ref>The Transmission of Learning in Islamic Africa - Scott Steven Reese</ref>

| header25 = {{#if:Imamate<ref>The Transmission of Learning in Islamic Africa - Scott Steven Reese</ref> || {{#if:

       | {{#if:
          | Leaders          
          | Government 
         }} 
       }} }}

| rowclass26 = mergedrow | data26 = {{#if:|Template:Infobox country/multirow }}

| rowclass27 = mergedrow | label27 = {{#if:Imam| Imam }} | data27 = {{#if:Imam| }} | rowclass28 = mergedrow | data28 = {{#if:777–788 | Template:Infobox country/multirow }}

| rowclass29 = mergedrow | label29 = {{#if:| {{{title_representative}}} }} | data29 = {{#if:| }} | rowclass30 = mergedrow | data30 = {{#if:|Template:Infobox country/multirow }}

| rowclass31 = mergedrow | label31 = {{#if:|{{{title_deputy}}} }} | data31 = {{#if:| }} | rowclass32 = mergedrow | data32 = {{#if:|Template:Infobox country/multirow }}

| label40 = Legislature | data40 = | rowclass41 = mergedrow

| label41 =

• {{#if:|{{{type_house1}}}|Upper house}}

| data41 = | rowclass42 = mergedbottomrow

| label42 =

• {{#if:|{{{type_house2}}}|Lower house}}

| data42 =

| rowclass43 = {{#if: |mergedtoprow}} | header43 = {{#if:

  |{{#if:

| {{{sovereignty_type}}}{{#if: | 

{{{sovereignty_note}}}

}}

     | {{#if:| | Establishment }}
 }} }}

| label44 = Establishment | data44 = {{#if:

     |
     |
     }}

| label45 = {{#if:|Historical era|History}} | data45 = {{#if: |{{#ifexist:|[[{{{era}}}]]|{{{era}}}}} | {{#if:777<ref>A Chronology of Islamic History, 570-1000 CE - Habib Ur Rahman G.K. Hall, 1989</ref>| }}}}

| rowclass46 = {{#if: |mergedrow |mergedbottomrow}} | data46 = {{#if:|Template:Infobox country/multirow }}

| rowclass47 = {{#if:777<ref>A Chronology of Islamic History, 570-1000 CE - Habib Ur Rahman G.K. Hall, 1989</ref> |mergedrow |mergedbottomrow}} | data47 = {{#if:777<ref>A Chronology of Islamic History, 570-1000 CE - Habib Ur Rahman G.K. Hall, 1989</ref>|Template:Infobox country/multirow }}

| rowclass60 = mergedtoprow | header60 = {{#if:

 | {{#if:
              | [[{{{area_link}}}|Area {{#ifeq:|yes|claimed|}}]]
              | {{#ifexist:Geography of Rustamid
                 | Area {{#ifeq:|yes|claimed|}}
                 | Area {{#ifeq:|yes|claimed|}}}}}} }}

| rowclass61 = {{#if:|mergedrow|mergedbottomrow}}

| label61 =

• Total

| data61 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}{{#if: | ([[List of countries and dependencies by area|]]) }}
 }}

| rowclass62 = {{#if:|mergedrow|mergedbottomrow}}

| label62 =

• Land

| data62 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}
 }}

| rowclass63 = {{#if:|mergedrow|mergedbottomrow}}

| label63 =

• Water

| data63 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}
 }}

| rowclass64 = {{#if:|mergedrow|mergedbottomrow}}

| label64 =

• Water (%)

| data64 =

| rowclass65 = {{#if:|mergedrow|mergedbottomrow}}

| label65 =

• 

| data65 = {{#if:| }}

| rowclass66 = {{#if:|mergedrow|mergedbottomrow}}

| label66 =

• 

| data66 = {{#if:| }}

| rowclass67 = {{#if:|mergedrow|mergedbottomrow}} | label67 = | data67 = {{#if: | Template:Convinfobox }}

| rowclass68 = {{#if:|mergedrow|mergedbottomrow}} | label68 = | data68 = {{#if: | Template:Convinfobox }}

| rowclass69 = {{#if:|mergedrow|mergedbottomrow}} | label69 = | data69 = {{#if: | Template:Convinfobox }}

| rowclass70 = {{#if:|mergedrow|mergedbottomrow}} | label70 = | data70 = {{#if: | Template:Convinfobox }}

| rowclass71 = {{#if:|mergedrow|mergedbottomrow}} | label71 = | data71 = {{#if: | Template:Convinfobox }}

| rowclass72 = mergedrow

| label72 =

• {{{FR_metropole}}}

| data72 = {{#if:| }}

| rowclass73 = mergedrow

| label73 =

• IGN

| data73 = {{#if:

 |{{#if:
    |Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}}
  }}
}}

| rowclass89 = mergedbottomrow

| label89 =

| data89 = {{#if:

 |{{#if:
    | Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}}
  }}
}}

| rowclass90 = mergedtoprow | header90 = {{#if:

    |{{#if:
              | {{#ifeq:{{{population_link}}}|no|Population|[[{{{population_link}}}|Population]]}}| {{#ifexist:Demographics of Rustamid
                 | Population| Population}}}} }}

| rowclass91 = mergedrow

| label91 =

• {{#if: |{{{population_estimate_year}}} estimate|Estimate}}

| data91 = {{#if:

       |{{{population_estimate}}}{{#if: | ({{{population_estimate_rank}}})}}
       }}

| rowclass92 = mergedrow

| label92=

• 

| data92= {{#if:|}}

| rowclass93= mergedrow

| label93=

• 

| data93= {{#if:|}}

| rowclass94= mergedrow | data94= {{#if:|Template:Infobox country/multirow }}


| rowclass95= mergedrow

| label95=

• {{#if: |{{{population_census_year}}} census|Census}}

| data95= {{#if:

 |{{{population_census}}}{{#if: | ({{{population_census_rank}}})}}
 }}

| rowclass96= mergedrow | label96 = {{#if:|{{#if:|Template:Nobold}}}} | data96 = {{#if:|{{#if:|}}}}

| rowclass97 = mergedrow

| label97=

• Total

| data97= {{#if:|{{#if:

|{{{FR_total_population_estimate}}}{{#if:| ({{{FR_total_population_estimate_rank}}})}}
 }} }}

| rowclass98 = mergedrow

| label98=

• {{{FR_metropole}}}

| data98= {{#if:|{{{FR_metropole_population}}}{{#if:

| ({{{FR_metropole_population_estimate_rank}}})}}
}}

| rowclass99 = mergedbottomrow

| label99=

• Density

| data99= {{#if:

    | Template:Convinfobox{{#if: | ({{{population_density_rank}}})}}
    }}

| rowclass100 = {{#if:|mergedbottomrow|mergedtoprow}} | label100 = Membership | data100=

| rowclass101= mergedtoprow | label101= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data101= {{#if:

    |{{#if: | }}estimate
    }}

| rowclass102= mergedrow

| label102=

• Total

| data102= {{#if:

    |{{#if: | ({{{GDP_PPP_rank}}})}}
    }}

| rowclass103= mergedbottomrow

| label103=

• Per capita

| data103= {{#if:

    |{{{GDP_PPP_per_capita}}}{{#if: | ({{{GDP_PPP_per_capita_rank}}})}}
    }}

| rowclass104= mergedtoprow | label104= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data104= {{#if:

  |{{#if: |{{{GDP_nominal_year}}} }}estimate
  }}

| rowclass105= mergedrow

| label105=

• Total

| data105= {{#if:

    |{{{GDP_nominal}}}{{#if: | ({{{GDP_nominal_rank}}})}}
    }}

| rowclass106= mergedbottomrow

| label106=

• Per capita

| data106= {{#if:

       | {{{GDP_nominal_per_capita}}}{{#if: | ({{{GDP_nominal_per_capita_rank}}})}}
      }}

| label107= Gini{{#if: | Template:Nobold}} | data107= {{#if:

    | {{#switch:
             |increase = Template:IncreaseNegative |decrease = Template:DecreasePositive |steady = Template:Steady }}{{{Gini}}}
Template:Nowrap{{#if: | ({{{Gini_rank}}})}}}}

| label108= HDI{{#if: | Template:Nobold}} | data108= {{#if:

    | {{#switch:
             |increase = Template:Increase |decrease = Template:Decrease |steady = Template:Steady }}
Template:Nowrap{{#if: | ({{{HDI_rank}}})}}}}

| label109= {{#ifeq:|yes|Purported currency|Currency}} | data109= {{#if:

    |  {{#if: |({{{currency_code}}})}}
  }}

| rowclass119= {{#if: |mergedtoprow}} | label119= Time zone | data119= {{#if:

    |Template:Nowrap {{#if:|({{{time_zone}}})}}
    |
    }}

| rowclass120= {{#if: |mergedrow |mergedbottomrow}}

| label120=

• Summer (DST)

| data120= {{#if:

    |Template:Nowrap {{#if:|({{{time_zone_DST}}})|{{#if:|({{{DST}}})}}}}
    |{{#if:|{{{time_zone_DST}}}|}}
    }}

| rowclass121= mergedbottomrow | label121= | data121=

| label122 = Antipodes | data122=

| label123 = Date format | data123=


| label126= {{#if:

   |{{#ifexist:Telephone numbers in Rustamid
              | Calling code
              | Calling code
             }}
  }}

| data126=

| label127= ISO 3166 code | data127= {{#switch:

    |omit = 
    | = {{#if:Rustamid
             | {{#if:Template:ISO 3166 code
                | [[ISO 3166-2:Template:ISO 3166 code|Template:ISO 3166 code]]
               }}
            }}
    |#default = [[ISO 3166-2:{{{ISO3166CODE}}}|{{{ISO3166CODE}}}]]
   }}

| label128= Internet TLD | data128=

| data129 = {{#if:

|

Website
{{{official_website}}}
    }}

| data130= {{#if:

| {{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Rustamid }}{{#if:|

}}

 }}

| data134 = {{#if:Berber revoltFatimid Caliphate

             |Template:Infobox country/formernext

}}

| label135 = Today part of | data135 = Algeria
Tunisia
Libya

| data136 = {{#if:

|

    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}

}}

| data137 = {{#if:

|

    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}

}} | data138 = {{#if:|

{{{footnotes}}}{{#if:|
{{{footnotes2}}}}}

}}

| belowclass = mergedtoprow noprint | below = {{#if:| Template:Navbar }} }}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox country with unknown parameter "_VALUE_"|ignoreblank=y| admin_center_type | admin_center | alt_coat | alt_flag | alt_flag2 | alt_map | alt_map2 | alt_map3 | alt_symbol | anthem | anthems | antipodes | area_acre | area_data2 | area_data3 | area_footnote | area_ha | area_km2 | area_label | area_label2 | area_label3 | area_land_acre | area_land_footnote | area_land_ha | area_land_km2 | area_land_sq_mi | area_link | area_rank | area_sq_mi | area_water_acre | area_water_footnote | area_water_ha | area_water_km2 | area_water_sq_mi | regexp1 = border_[ps][%d]+ | calling_code | capital_exile | capital_type | capital | cctld | coa_size | coat_alt | common_languages | common_name | conventional_long_name | coordinates | currency_code | currency | date_end | regexp2 = date_event[%d]+ | date_format | date_post | date_pre | date_start | demonym | regexp3 = deputy[%d]+ | drives_on | DST_note | DST | empire | englishmotto | era | regexp4 = established_date[%d]+ | regexp5 = established_event[%d]+ | established | ethnic_groups_ref | ethnic_groups_year | ethnic_groups | event_end | event_post | event_pre | event_start | regexp6 = event[%d]+ | flag| flag_alt | flag_alt2 | flag_border | flag_caption | flag_caption | regexp7 = flag_[ps][%d]+ | flag_size | flag_type | flag_type_article | flag_width | flag2_border | regexp8 = footnote_[a-h] | regexp9 = footnote[%d]+ | footnotes | footnotes2 | FR_cadastre_area_km2 | FR_cadastre_area_rank | FR_cadastre_area_sq_mi | FR_foot | FR_foot2 | FR_foot3 | FR_foot4 | FR_foot5 | FR_IGN_area_km2 | FR_IGN_area_rank | FR_IGN_area_sq_mi | FR_metropole_population_estimate_rank | FR_metropole_population | FR_metropole | FR_total_population_estimate_rank | FR_total_population_estimate_year | FR_total_population_estimate | GDP_nominal_per_capita_rank | GDP_nominal_per_capita | GDP_nominal_rank | GDP_nominal_year | GDP_nominal | GDP_PPP_per_capita_rank | GDP_PPP_per_capita | GDP_PPP_rank | GDP_PPP_year | GDP_PPP | Gini_change | Gini_rank | Gini_ref | Gini_year | Gini | government_type | HDI_change | HDI_rank | HDI_ref | HDI_year | HDI | house1 | house2 | image_coat | image_flag | image_flag2 | image_map_alt | image_map_caption | image_map_size | image_map | image_map2_alt | image_map2_caption | image_map2_size | image_map2 | image_map3 | regexp10 = image_[ps][%d]+ | image_symbol | iso3166code | languages_sub | languages_type | languages | languages2_sub | languages2_type | languages2 | largest_city | largest_settlement_type | largest_settlement | regexp11 = leader_name[%d]+ | regexp12 = leader_title[%d]+ | regexp13 = leader[%d]+ | legislature | life_span | linking_name | location_map | loctext | lower_house | map_caption | map_caption2 | map_caption3 | map_width | map2_width | map3_width | membership_type | membership | micronation | motto | name | national_anthem | national_languages | national_motto | native_name | navbar | nummembers | official_languages | official_website | org_type | other_symbol_type | other_symbol | regexp14 = [ps][%d]+ | patron_saint | patron_saints | percent_water | politics_link | pop_den_footnote | population_census_rank | population_census_year | population_census | population_data2 | population_data3 | population_density_km2 | population_density_rank | population_density_sq_mi | population_estimate_rank | population_estimate_year | population_estimate | population_label2 | population_label3 | population_link | recognised_languages | recognised_national_languages | recognised_regional_languages | recognized_languages | recognized_national_languages | regexp15 = ref_area[%d]+ | regexp16 = ref_pop[%d]+ | regional_languages | recognized_regional_languages | religion_ref | religion_year | religion | regexp17 = representative[%d]+ | royal_anthem | flag_anthem | march | national_march | regional_anthem | territorial_anthem | state_anthem | sovereignty_note | sovereignty_type | regexp18 = stat_area[%d]+ | regexp19 = stat_pop[%d]+ | regexp20 = stat_year[%d]+ | status_text | status | symbol| symbol_type_article | symbol_type | symbol_width | text_symbol_type | text_symbol | time_zone_DST | time_zone | title_deputy | title_leader | title_representative | today | type_house1 | type_house2 | upper_house | utc_offset_DST | utc_offset | regexp21 = year_deputy[%d]+ | year_end | year_exile_end | year_exile_start | regexp22 = year_leader[%d]+ | regexp23 = year_representative[%d]+ | year_start}}Template:Main other{{#if:|{{#ifeq:|Colony|Template:Main other|{{#ifeq:|Exile|Template:Main other}}}} }}

The Rustamid dynasty (Template:Langx) (or Rustumids, Rostemids) was an Ibadi dynasty of Persian origin<ref>Template:Cite book</ref><ref>Islamic History - Laura Etheredge - p73</ref> which ruled a state that was centered in present-day Algeria.<ref>Britannica Encyclopedia, Retrieved on 18 December 2008.</ref><ref>"The Places where Men Pray Together", pg. 210.</ref><ref>Based on Britannica 2008: The state was governed by imams descended from ʿAbd ar-Raḥmān ibn Rustam, the austere Persian who founded the state in the 8th century.</ref> The dynasty governed as a Muslim theocracy for a century and a half from its capital Tahert (present day Tagdemt)<ref name=":0">Template:Cite book</ref> until the Ismaili Fatimid Caliphate defeated it. Rustamid authority extended over what is now central and western Algeria, parts of southern Tunisia, and the Jebel Nafusa and Fezzan regions in Libya as far as Zawila.<ref>Template:Cite book</ref><ref>Template:Cite book</ref><ref>Template:Cite book</ref><ref>Template:Cite book</ref>

HistoryEdit

The Ibāḍī movement reached North Africa by 719, when the missionary Salma ibn Sa'd was sent from the Ibādī jama'a of Basra to Kairouan.<ref>Template:Cite book</ref>Template:Sfn By 740, their efforts had converted the major Berber tribes of Huwara around Tripoli, in the Nafusa Mountains and at Zenata in western Tripolitania.Template:Sfn In 757 (140 AH), a group of four Basra-educated missionaries including ʻAbd ar-Rahmān ibn Rustam proclaimed an Ibāḍī imamate in Tripolitania, starting an abortive state led by Abu l-Khattab Abdul-A'la ibn as-Samh which lasted until the Abbasid Caliphate dispatched Muhammad ibn al-Ash'ath al-Khuza'i to suppress it in 761. Ifriqiya was conquered by the Abbasids from Kharijite control and Abul-Khattab Abdul-A'la ibn as-Samh was killed.Template:Sfn On his death, the Tripolitanian Ibādiyya elected Abu l-Hatim al-Malzuzi as Imām; he was killed in 772 after launching a second unsuccessful revolt in 768.Template:Sfn After this, the center of power shifted to Algeria, and, in 777, ʻAbd ar-Rahmān ibn Rustam, an Ifriqiyan-born convert to the Ibāḍī movement of Persian origin<ref>Britannica Encyclopedia, Retrieved on 18 December 2008.</ref> and one of the four founders of the imamate, was elected Imām; after this, the post remained in his family, a practice which the Ibādiyya justified by noting that he came from no tribe, and thus his election as imam would not favour the domination of one Ibadi tribe over the others.Template:Sfn

The new imamate was centered on the newly built capital of Tahert (or Tahart), near present-day Tiaret.Template:SfnTemplate:Sfn Several Ibādī tribes displaced from Tunisia and Tripolitania settled there and strong fortifications were built.Template:Sfn Al-Bakri mentions that after the establishment of Tahert, tribes within the area congregated around the vicinity of Tahert as the town was conceived of as a military base of the Imam and leader of the Ibadi tribes. The town was surrounded by a strong wall, it had a fortress, a commercial center, regular supply of water, gardens of fruit and vegetables and it was foremost a religious and economic center of the region. It eventually became a center along the caravan trade route to the Near East, this economic prosperity resulted in the later settlement of non-Ibadite Muslims and Christians.<ref name=":0" /><ref>Template:Cite book</ref>

The Rustamids fought the Kairouan-based Aghlabids of Ifriqiya in 812, but otherwise reached a modus vivendi; this displeased Ibādī tribes on the Aghlabid border, who launched a few rebellions.

In 873, a succession crisis occurred as the Third Imam Abu Bakr, fearing the loss of his title to his older brother Mohammed Abu-l-Yaqzan, attempted to assassinate him. However, his plot failed, leading to the population uprising against Abu Bakr, resulting in his overthrow and death In 874. Consequently, Mohammed Abu-l-Yaqzan assumed the title.<ref>Template:Cite book</ref>

After Abdu l-Wahhāb, the Rustamids grew militarily weak; they were easily conquered by the Ismaili Fatimids in 909, upon which many Ibāḍis – including the last Imām – fled to the Sedrata tribe of Ouargla, whence they would ultimately emigrate to Mzab.

Society and cultureEdit

The Rustamid dynasty, "developed a cosmopolitan reputation in which Christians, non-Kharijite Muslims, and adherents of different sects of Kharijites lived".<ref>John P. Entelis, Algeria: The Revolution Institutionalized, page 14</ref> On the intellectual field, the Rustamids had many scholars and learned men, such as Abd al-Rahman ibn Rustam, Abd al-Wahhab ibn Abd al-Rahman, Aflah ibn ‘Abd al-Wahhab, dan Abu al-Yaqzhan ibn Aflah, Mahdi an-Nafusi, ‘Abd Allah al-Lamthi, and Mahmud ibn Bakr. ‘Abd ar-Rahman had an exegesis of the Qur’an. ‘Abd al-Wahhab wrote his Masa'il Nafusah on Islamic jurisprudence. Aflah mastered Arabic literature, mathematics, and astronomy. Abu al-Yaqzhan wrote about 40 works. Because of their intellectual enthusiasm, the Rustamids vigorously transferred valuable works from the Mashriq to the Maghrib, especially to the library of al-Ma‘shumah (in Tahert) and that of Khizanah Nafusah (in Jabal Nafusah).<ref name=":1" />

Moreover, Tahert was famous as ‘Iraq al-Maghrib, al-‘Iraq ash-Shaghir, Balkh al-Maghrib, or Little Basra. Apart from these achievements, the Rustamids also had significant contribution to Islamization in the Maghrib and Bilad as-Sudan. For about two centuries (130–340 AH / 750–950 AD), the Kharijite people gained control of trade routes in the Maghrib and Bilad as-Sudan. Many Ibadite merchants made journeys along the vast area, such as Tahert, Wargla, Nafzawa, Jabal Nafusah, Tadmakkat, Gao, and Ghana. By this economic activity, the Ibadites took advantages of trading business and preaching Islam at the same time.<ref name=":1">Ahmad Choirul Rofiq, "Moderation and Civilization: A Historical Analysis on the Moderate Policy of the Rustamid Dynasty" in {{#invoke:doi|main}}</ref>

Rustamid ImamsEdit

Template:Sidebar with collapsible lists

Family treeEdit

Template:Chart top

Template:Tree chart/start

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart

Template:Tree chart/end

Template:Chart bottom

See alsoEdit

ReferencesEdit

Template:Reflist

SourcesEdit

|CitationClass=web }} Template:Muslim dynasties in Maghreb region Template:Authority control