Kingdom
Maghreb title IDs
The de jure lands of Maghreb in patch 1.20.1.2: 6 duchies, 24 counties and 82 baronies, in the order the game nests them. Maghreb lies in the empire of Maghreb (e_maghreb). Its capital is Marrakesh.
give_title k_maghreb
Maghreb on the map at the start
On 867.1.1, Maghreb is a realm of its own, ruled by Yahya (Idrisid). It holds 9 of its 24 de jure counties; 9 other realms hold the rest.
- Counties
- 24
- Development
- 168
Realms holding it
- Maghreb38% · 9
- Draa13% · 3
- Agadir8% · 2
- Asfi8% · 2
- Sijilmasa8% · 2
- Ceuta8% · 2
Who holds its counties
- Yahya (Idrisid)17% · 4
- Ali (Idrisid)17% · 4
- Abū Gazzūla (Gazzūla)13% · 3
- Maymūn (Midrarid)8% · 2
- Yunus (Barghawata)8% · 2
- Tiljad (Lamta)8% · 2
On 1066.9.15, Maghreb is a realm of its own, ruled by Abu-Bakr (Almoravid). It holds 18 of its 24 de jure counties; 6 other realms hold the rest.
- Counties
- 24
- Development
- 257
Realms holding it
- Maghreb75% · 18
- Tangiers4% · 1
- Ceuta4% · 1
- Melilla4% · 1
- Achinech4% · 1
- Maxorata4% · 1
Who holds its counties
- Abu-Bakr (Almoravid)21% · 5
- Yusuf (Almoravid)17% · 4
- Qasim (Miknasid)8% · 2
- Mu'ansir (Maghrawavid)8% · 2
- Ali (Almoravid)8% · 2
- Suqut (Barghawatid)4% · 1
On 1178.10.1, Maghreb is a realm of its own, ruled by Yusuf (Mu'minid). It holds 21 of its 24 de jure counties; 3 other realms hold the rest.
- Counties
- 24
- Development
- 558
Realms holding it
- Maghreb88% · 21
- Achinech4% · 1
- Maxorata4% · 1
- Madeira4% · 1
Who holds its counties
- Umar (Mu'minid)21% · 5
- Yusuf (Mu'minid)21% · 5
- Ya'qub (Mu'minid)17% · 4
- Musa (Gazzūla)13% · 3
- Tamanca (Tikanariyen)4% · 1
- Muhammad (Hintāta)4% · 1
Faiths
- Almohadism88% · 21
- Achamánism13% · 3
Holy sites (5)
Tinmallal · Sijilmasa · Fes · Mount Teide · Madeira
From the map data of each start date: history/titles and history/provinces (holders, development, culture, faith), common/religion/holy_site_types, common/buildings, common/bookmarks.
The kingdom of Maghreb (title ID k_maghreb) has 6 de jure duchies, 24 counties and 82 baronies in Crusader Kings III. To create it from the title view you need 2 duchy titles (or 1 kingdom title, 1 empire title or 1 hegemony title) and enough of its de jure counties, and it costs 500 gold for 400 prestige and 50 legitimacy. Console: give_title k_maghreb. Patch 1.20.1.2, from game/common/landed_titles/00_landed_titles.txt and game/common/defines/00_defines.txt.
Quick answers (1)
- How do you form the Kingdom of Maghreb in CK3?
- To create Maghreb from the title view you need 2 duchy titles (or 1 kingdom title, 1 empire title or 1 hegemony title) and enough of its de jure counties, and it costs 500 gold for 400 prestige and 50 legitimacy.
How to form Maghreb
Create it from the title view
- You need one of
- 2 duchy titles
- 1 kingdom title
- 1 empire title
- 1 hegemony title
“You need one of the following:” · titles you hold or completely control (
CREATE_TITLE_OR_TIER_KINGDOM)- De jure counties
- Enough of its de jure counties: the window says “You only have … of … required Counties”. How many it asks for is worked out by the game's code, not written in the files.
- Cost
500goldDiscounts can bring it down to 100 gold at least (20% — what lowers it). Mandala rulers also need piety level 3 and pay 2,500 piety.
- You gain
400prestige50legitimacy
Usurping a kingdom costs 500 gold and gives 400 prestige; destroying one costs 800 prestige and 50 legitimacy. See also the domain, vassal and duchy limits. Patch 1.20.1.2: common/defines/00_defines.txt (NTitle).


Maghreb coat of arms
The coat as the game defines it, ready for the coat-of-arms designer's Paste. The text is the definition from common/coat_of_arms with its @values worked out — not tried in the game yet. Coats a title changes to in play (a conquest, a new dynasty) are not shown. All coats of arms
Show the code
k_maghreb={
pattern="pattern_solid.dds"
color1="red"
color2="white"
colored_emblem={
texture="ce_block_02.dds"
color1="yellow"
color2="yellow"
instance={
position={ 0.5 0.48 }
scale={ 0.52 0.52 }
}
instance={
position={ 0.5 0.48 }
rotation=45
scale={ 0.52 0.52 }
}
}
colored_emblem={
texture="ce_block_02.dds"
color1="red"
color2="red"
instance={
position={ 0.5 0.48 }
scale={ 0.48 0.48 }
}
instance={
position={ 0.5 0.48 }
rotation=45
scale={ 0.48 0.48 }
}
}
colored_emblem={
texture="ce_block_02.dds"
color1="yellow"
color2="yellow"
instance={
position={ 0.5 0.48 }
scale={ 0.44 0.44 }
}
instance={
position={ 0.5 0.48 }
rotation=45
scale={ 0.44 0.44 }
}
}
colored_emblem={
texture="ce_block_02.dds"
color1="red"
color2="red"
instance={
position={ 0.5 0.48 }
scale={ 0.40 0.40 }
}
instance={
position={ 0.5 0.48 }
rotation=45
scale={ 0.40 0.40 }
}
}
colored_emblem={
texture="ce_circle.dds"
color1="yellow"
color2="yellow"
instance={
position={ 0.5 0.48 }
scale={ 0.15 0.15 }
}
}
}How to use these IDs in the console
- In Steam, add
-debug_modeto the game's launch options (Properties → General). - In the game, open the console with the ` key (§, ~ or ^ on some keyboards).
- Paste the command (
give_title c_marrakesh) and press Enter. Using the console turns achievements off for that game.
Marrakesh duchy
give_title d_marrakeshMarrakesh county
give_title c_marrakesh- Marrakesh · province 4718
give_title b_marrakesh - Aitiyat · province 4713
give_title b_aitiyat - Aghmat · province 4714
give_title b_aghmat - Ribat-Shakir · province 4719
give_title b_ribat-shakir - Boulawan · province 4731
give_title b_boulawan
- Marrakesh · province 4718
Tadla county
give_title c_tadla- Tadla · province 4709
give_title b_tadla - Dai · province 4710
give_title b_dai - Wazeqqur · province 4707
give_title b_wazeqqur - Wawmana · province 4708
give_title b_wawmana - Afza · province 4711
give_title b_afza - Ait i Tab · province 4712
give_title b_aititab
- Tadla · province 4709
Fazaz county
give_title c_fazaz- Mrira · province 4706
give_title b_mrira - El Borouj · province 4746
give_title b_el_borouj - Tit-an-Wagurramt · province 4747
give_title b_tit-an-wagurramt
- Mrira · province 4706
Tamasna county
give_title c_tamasna- Anfa · province 4703
give_title b_anfa - Fadala · province 4702
give_title b_fadala - Azzamur · province 4704
give_title b_azzamur - Mazaghan · province 4705
give_title b_mazaghan
- Anfa · province 4703
Asfi county
give_title c_asfi- Asfi · province 4720
give_title b_asfi - Aghuz · province 4721
give_title b_aghuz - Igiradyatuf · province 4722
give_title b_igiradyatuf
- Asfi · province 4720
Tinmallal county
give_title c_tinmallal- Tinmallal · province 4716
give_title b_tinmallal - Tasgimut · province 4715
give_title b_tasgimut - Naffis · province 4717
give_title b_naffis
- Tinmallal · province 4716
Sous duchy
give_title d_sousSous county
give_title c_sous- Tarudant · province 4724
give_title b_tarudant - Igilliz · province 4725
give_title b_igilliz - Sirwan · province 4732
give_title b_sirwan
- Tarudant · province 4724
Agadir county
give_title c_agadir- Agadir · province 4723
give_title b_agadir - Massa · province 4726
give_title b_massa
- Agadir · province 4723
Ifni county
give_title c_ifni- Taroudant · province 4727
give_title b_ifni - Nul Lamta · province 4728
give_title b_nul_lamta - Taghmut · province 4729
give_title b_taghmut - Assa · province 4730
give_title b_assa - Tagawst · province 4757
give_title b_tagawst - Iligh · province 4758
give_title b_iligh
- Taroudant · province 4727
Draa county
give_title c_draa- Tazagourt · province 4735
give_title b_tazagourt - Al-talha · province 4740
give_title b_al-talha - Aqqa · province 4741
give_title b_aqqa - Tagmadart · province 4755
give_title b_tagmadart - Tidri · province 4756
give_title b_tidri
- Tazagourt · province 4735
Tafilalt duchy
give_title d_tafilaltSijilmasa county
give_title c_sijilmasa- Sijilmasa · province 4737
give_title b_sijilmasa - Tafilalt · province 4738
give_title b_tafilalt - Taouz · province 4759
give_title b_taouz
- Sijilmasa · province 4737
Tudgha county
give_title c_tudgha- Tudgha · province 4736
give_title b_tudgha - Tasagdah · province 4733
give_title b_tasagdah - Warzazat · province 4734
give_title b_warzazat
- Tudgha · province 4736
Ziz county
give_title c_ziz- Ziz · province 4739
give_title b_ziz - Ghazwan · province 4742
give_title b_ghazwan
- Ziz · province 4739
Fes duchy
give_title d_fes
Fes countygive_title c_fes- Fès · province 4694
give_title b_fes - Wargha · province 4688
give_title b_wargha - Warzigh · province 4692
give_title b_warzigh - Al Aliya · province 4695
give_title b_al_aliya - Subu · province 4696
give_title b_subu
- Fès · province 4694
Muluya county
give_title c_muluya- Missour · province 4745
give_title b_missour - Tikoutamine · province 4743
give_title b_tikoutamine - El-Ksabi · province 4744
give_title b_el_ksabi
- Missour · province 4745
Taza county
give_title c_taza- Taza · province 4677
give_title b_taza - Nador · province 4748
give_title b_nador
- Taza · province 4677
Meknes county
give_title c_meknes- Meknès · province 4699
give_title b_meknes - Baht · province 4693
give_title b_baht - Sefrou · province 4697
give_title b_sefrou - Tagragra · province 4698
give_title b_tagragra
- Meknès · province 4699
Gharb county
give_title c_gharb- Sala · province 4700
give_title b_sala - Al-basra · province 4687
give_title b_al-basra - Izerhan · province 4689
give_title b_izerhan - Watit · province 4690
give_title b_watit - Walila · province 4691
give_title b_walila - Ribat al-Fath · province 4701
give_title b_ribat_al-fath
- Sala · province 4700
Rif duchy
give_title d_rifTangiers county
give_title c_tangiers- Tangier · province 4683
give_title b_tangiers - Asila · province 4684
give_title b_asila - Kasr al-Kabir · province 4685
give_title b_kasr_al-kabir - Tahlit · province 4686
give_title b_tahlit
- Tangier · province 4683
Ceuta county
give_title c_ceuta- Sabta · province 4682
give_title b_sabta - Tittawan · province 4681
give_title b_tittawan - Ghumira · province 4680
give_title b_ghumira
- Sabta · province 4682
Melilla county
give_title c_melilla- Melilla · province 4678
give_title b_melilla - Nakur · province 4679
give_title b_nakur
- Melilla · province 4678
Canarias duchy
give_title d_canariasAchinech county
give_title c_canarias- Achinech · province 8713
give_title b_tenerife - Tamaran · province 849
give_title b_grancanaria
- Achinech · province 8713
Maxorata county
give_title c_fuerteventura- Maxorata · province 8714
give_title b_fuerteventura - Titeroigatra · province 8715
give_title b_lanzarote
- Maxorata · province 8714
Madeira county
give_title c_madeira- Madeira · province 8716
give_title b_madeira
- Madeira · province 8716
Source: game/common/landed_titles/00_landed_titles.txt and the English localisation, Crusader Kings III 1.20.1.2. Commands as listed on the official wiki's console page. See also title IDs, character IDs, dynasty IDs and nicknames.