
####################################################################################################
###																								 ###
###						   	Падежи формы правления с прописной буквы							 ###
###																								 ###
###																								 ###
###					  Формы правления прописаны с уже готовыми окончаниями!						 ###
###																								 ###
###				Именительный (Кто, что?) - "[LIT.GetGovernmentIM_CAP]" : "Королевство" 			 ###
###				Родительный (Кого, чего?) - "[LIT.GetGovernmentRD_CAP]" : "Королевства"  		 ###
###				Дательный (Кому, чему?) - "[LIT.GetGovernmentDT_CAP]" : "Королевству" 			 ###
###				Винительный (Кого, что?) - НЕ ИСПОЛЬЗУЕТСЯ									 	 ###
###				Творительный (Кем, чем?) - "[LIT.GetGovernmentTV_CAP]" : "Королевством"  		 ###
###				Предложный (О ком, о чём, где?) - "[LIT.GetGovernmentPR_CAP]" : "Королевстве"  	 ###
###																								 ###
###						  		Локализация в: gks_governmentCAP								 ###
###																								 ###
####################################################################################################

defined_text = {
	name = GetGovernmentIM_CAP
	#stateless_society
	text = {
		localisation_key = STATELESS_SOCIETY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = ISLAMIC_CALIPHATE_IM_CAP
		trigger = {
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = REVOLUTIONARY_PEASANT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

	#revolutionary_spanish_republic
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}

	#revolutionary_swedish_republic
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}

	#revolutionary_danish_republic
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}

	#revolutionary_ottoman_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}

	#gov_revolutionary_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

	#gov_german_empire
	text = {
		localisation_key = KAISERREICH_IM_CAP
		trigger = {
			government_rank = 3 
			culture_group = germanic
			government_rank = 3
			OR = {
				tag = HLR
				tag = GER
			}
			government = monarchy
		}
	}

	#gov_prussian_republic
	text = {
		localisation_key = STRATOCRACY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = ADMIRALTY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = HIGH_ADMIRALTY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRALTY_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = COMMONWEALTH_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


	#military_dictatorship
	text = {
		localisation_key = MILITARY_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}

	#greek_pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_IM_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}

	#pirate_daimyo_government
	text = {
		localisation_key = PIRATE_DAIMYO_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = SOO
			has_government_attribute = is_pirate_republic_reform
			is_subject_of_type = daimyo_vassal
		}
	}

	#pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_IM_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}

	#pirate_kingdom
	text = {
		localisation_key = PIRATE_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_GOV_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_IM_CAP
		trigger = {
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = HORDE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

	#ilkhanate_march
	text = {
		localisation_key = ILKHANATE_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = ILK
			is_march = yes
		}
	}

	#celestial_parliament
	text = {
		localisation_key = PARLIAMENT_OF_HEAVEN_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

	#Subject Specific
	#ottoman_marches
	text = {
		localisation_key = PASHALIK_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			is_march = yes
			religion_group = muslim
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#ottoman_vassals
	text = {
		localisation_key = BEYLIK_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			religion_group = muslim
			NOT = { is_march = yes }
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#march_christian_monarchy
	text = {
		localisation_key = MARCH_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROYALTY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

	#gov_papal_government_elector
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
				is_elector = yes
		}
	}



	#palatine_electorate
	text = {
		localisation_key = ELECTORAL_PALATINATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTORAL_PALATINATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTY_PALATINE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KINGDOM_PALATINE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGSEG_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = GRAND_HERCEGSEG_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = ELECTORATE_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = ELECTORATE_BISHOPRIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCHATE_IM_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = ELECTORAL_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_ELECTORAL_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_ELECTORAL_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = DAIMYO_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFATE_IM_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = EMIRATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRATE_IM_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}

	#hunyadi_regent_monarchy
	text = {
		localisation_key = DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEYLIK_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = DESPOTATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = BARANGAY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}

	#scanian_peasant_republic
	text = {
		localisation_key = SOGN_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = HERRED_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = BONDEVALDE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}

	#pagan_greek_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}

	#pagan_roman_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGANATE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWABATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAMATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWABATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}

	#bharat_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}

	#hindu_maratha_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = BARANGAY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = MONG_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = MONG_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = BARANGAY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARLDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORDSHIP_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GRAND_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARDOM_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARDOM_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = CAH_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = KUCHKABAL_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = GREAT_LEAGUE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = ALTEPETL_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = ALTEPETL_FEDERATION_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = SULTANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}

	#Republics
	#german_free_city
	text = {
		localisation_key = FREE_CITY_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = FREE_CITY_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
		}
	}

	#If only two first levels used then reorder so that only 2 and 3 are used
	#iberian_colonial_government
	text = {
		localisation_key = COLONY_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			culture_group = iberian
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}
	#If only two first levels used then reorder so that only 2 and 3 are used
	#dutch_colonial_government
	text = {
		localisation_key = COLONY_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			primary_culture = dutch
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#zaporozhian_republic
	text = {
		localisation_key = HETMANATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GRAND_HETMANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMANATE_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = UNITED_PROVINCES_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#russian_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#south_slavic_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#florentine_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = principality }
			OR = {
				religion = coptic
				religion = orthodox
			}
			is_march = yes
		}
	}

	#gov_holy_horde
	text = {
		localisation_key = CRUSADER_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_ORDER_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}

	#gov_steppe_horde
	text = {
		localisation_key = HORDE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHANATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHAGANATE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = TRIBE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}

	#gov_colonial_government
	text = {
		localisation_key = COLONY_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#federal_monarchy_statists
	text = {
		localisation_key = UNITED_PROVINCES_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#federal_monarchy_monarchists
	text = {
		localisation_key = UNITED_PROVINCES_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#noble_republic
	text = {
		localisation_key = PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = DESPOTISM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = DICTATORSHIP_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENTIAL_DICTATORSHIP_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = DAIMYO_IM_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = INDEP_DAIMYO_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GRAND_INDEP_DAIMYO_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GREAT_INDEP_DAIMYO_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GRAND_CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GREAT_CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = USA
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#hre_county
	text = {
		localisation_key = COUNTY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}


	#Ikko-Ikki Peasants

	#ikko_ikki_peasants
	text = {
		localisation_key = IKKO_IKKI_COMMUNE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#Theocracies - Specified Religion / Culture

	#ikko_ikki_temple
	text = {
		localisation_key = IKKO_IKKI_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#asian_monastic_order
	text = {
		localisation_key = WARRIOR_MONK_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = WARRIOR_MONK_HIGH_ORDER_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = DIVINE_PROTECTORS_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#northerner_king_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#northerner_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_ORDER_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_CONFEDERATION_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}

	#brewing_order
	text = {
		localisation_key = TRAPPIST_STATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWING_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISL_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = CONFEDERATION_IM_CAP
		trigger = {
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAMATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAMATE_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAMATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = METROPOLIS_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_METROPOLIS_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = MONASTIC_ORDER_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = SISTERHOOD_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = SISTERHOOD_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_SISTERHOOD_IM_CAP
		trigger = {
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHY_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = REPUBLIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_IM_CAP
		trigger = {
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOPRIC_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_IM_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFDOM_IM_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_IM_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_IM_CAP
		trigger = {
			government_rank = 3 
			government = tribal
		}
	}
}
defined_text = {
	name = GetGovernmentRD_CAP
	#stateless_society
	text = {
		localisation_key = STATELESS_SOCIETY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = ISLAMIC_CALIPHATE_RD_CAP
		trigger = {
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = REVOLUTIONARY_PEASANT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

	#revolutionary_spanish_republic
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}

	#revolutionary_swedish_republic
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}

	#revolutionary_danish_republic
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}

	#revolutionary_ottoman_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}

	#gov_revolutionary_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

	#gov_german_empire
	text = {
		localisation_key = KAISERREICH_RD_CAP
		trigger = {
			government_rank = 3 
			culture_group = germanic
			government_rank = 3
			OR = {
				tag = HLR
				tag = GER
			}
			government = monarchy
		}
	}

	#gov_prussian_republic
	text = {
		localisation_key = STRATOCRACY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = ADMIRALTY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = HIGH_ADMIRALTY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRALTY_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = COMMONWEALTH_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


	#military_dictatorship
	text = {
		localisation_key = MILITARY_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}

	#greek_pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_RD_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}

	#pirate_daimyo_government
	text = {
		localisation_key = PIRATE_DAIMYO_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = SOO
			has_government_attribute = is_pirate_republic_reform
			is_subject_of_type = daimyo_vassal
		}
	}

	#pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_RD_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}

	#pirate_kingdom
	text = {
		localisation_key = PIRATE_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_GOV_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_RD_CAP
		trigger = {
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = HORDE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

	#ilkhanate_march
	text = {
		localisation_key = ILKHANATE_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = ILK
			is_march = yes
		}
	}

	#celestial_parliament
	text = {
		localisation_key = PARLIAMENT_OF_HEAVEN_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

	#Subject Specific
	#ottoman_marches
	text = {
		localisation_key = PASHALIK_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			is_march = yes
			religion_group = muslim
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#ottoman_vassals
	text = {
		localisation_key = BEYLIK_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			religion_group = muslim
			NOT = { is_march = yes }
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#march_christian_monarchy
	text = {
		localisation_key = MARCH_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROYALTY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

	#gov_papal_government_elector
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
				is_elector = yes
		}
	}



	#palatine_electorate
	text = {
		localisation_key = ELECTORAL_PALATINATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTORAL_PALATINATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTY_PALATINE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KINGDOM_PALATINE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGSEG_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = GRAND_HERCEGSEG_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = ELECTORATE_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = ELECTORATE_BISHOPRIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCHATE_RD_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = ELECTORAL_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_ELECTORAL_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_ELECTORAL_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = DAIMYO_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFATE_RD_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = EMIRATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRATE_RD_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}

	#hunyadi_regent_monarchy
	text = {
		localisation_key = DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEYLIK_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = DESPOTATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = BARANGAY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}

	#scanian_peasant_republic
	text = {
		localisation_key = SOGN_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = HERRED_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = BONDEVALDE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}

	#pagan_greek_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}

	#pagan_roman_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGANATE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWABATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAMATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWABATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}

	#bharat_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}

	#hindu_maratha_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = BARANGAY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = MONG_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = MONG_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = BARANGAY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARLDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORDSHIP_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GRAND_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARDOM_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARDOM_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = CAH_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = KUCHKABAL_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = GREAT_LEAGUE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = ALTEPETL_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = ALTEPETL_FEDERATION_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = SULTANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}

	#Republics
	#german_free_city
	text = {
		localisation_key = FREE_CITY_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = FREE_CITY_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
		}
	}

	#If only two first levels used then reorder so that only 2 and 3 are used
	#iberian_colonial_government
	text = {
		localisation_key = COLONY_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			culture_group = iberian
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}
	#If only two first levels used then reorder so that only 2 and 3 are used
	#dutch_colonial_government
	text = {
		localisation_key = COLONY_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			primary_culture = dutch
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#zaporozhian_republic
	text = {
		localisation_key = HETMANATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GRAND_HETMANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMANATE_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = UNITED_PROVINCES_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#russian_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#south_slavic_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#florentine_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = principality }
			OR = {
				religion = coptic
				religion = orthodox
			}
			is_march = yes
		}
	}

	#gov_holy_horde
	text = {
		localisation_key = CRUSADER_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_ORDER_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}

	#gov_steppe_horde
	text = {
		localisation_key = HORDE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHANATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHAGANATE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = TRIBE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}

	#gov_colonial_government
	text = {
		localisation_key = COLONY_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#federal_monarchy_statists
	text = {
		localisation_key = UNITED_PROVINCES_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#federal_monarchy_monarchists
	text = {
		localisation_key = UNITED_PROVINCES_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#noble_republic
	text = {
		localisation_key = PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = DESPOTISM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = DICTATORSHIP_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENTIAL_DICTATORSHIP_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = DAIMYO_RD_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = INDEP_DAIMYO_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GRAND_INDEP_DAIMYO_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GREAT_INDEP_DAIMYO_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GRAND_CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GREAT_CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = USA
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#hre_county
	text = {
		localisation_key = COUNTY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}


	#Ikko-Ikki Peasants

	#ikko_ikki_peasants
	text = {
		localisation_key = IKKO_IKKI_COMMUNE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#Theocracies - Specified Religion / Culture

	#ikko_ikki_temple
	text = {
		localisation_key = IKKO_IKKI_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#asian_monastic_order
	text = {
		localisation_key = WARRIOR_MONK_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = WARRIOR_MONK_HIGH_ORDER_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = DIVINE_PROTECTORS_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#northerner_king_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#northerner_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_ORDER_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_CONFEDERATION_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}

	#brewing_order
	text = {
		localisation_key = TRAPPIST_STATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWING_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISL_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = CONFEDERATION_RD_CAP
		trigger = {
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAMATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAMATE_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAMATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = METROPOLIS_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_METROPOLIS_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = MONASTIC_ORDER_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = SISTERHOOD_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = SISTERHOOD_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_SISTERHOOD_RD_CAP
		trigger = {
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHY_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = REPUBLIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_RD_CAP
		trigger = {
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOPRIC_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_RD_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFDOM_RD_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_RD_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_RD_CAP
		trigger = {
			government_rank = 3 
			government = tribal
		}
	}
}
defined_text = {
	name = GetGovernmentDT_CAP
	#stateless_society
	text = {
		localisation_key = STATELESS_SOCIETY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = ISLAMIC_CALIPHATE_DT_CAP
		trigger = {
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = REVOLUTIONARY_PEASANT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

	#revolutionary_spanish_republic
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}

	#revolutionary_swedish_republic
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}

	#revolutionary_danish_republic
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}

	#revolutionary_ottoman_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}

	#gov_revolutionary_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

	#gov_german_empire
	text = {
		localisation_key = KAISERREICH_DT_CAP
		trigger = {
			government_rank = 3 
			culture_group = germanic
			government_rank = 3
			OR = {
				tag = HLR
				tag = GER
			}
			government = monarchy
		}
	}

	#gov_prussian_republic
	text = {
		localisation_key = STRATOCRACY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = ADMIRALTY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = HIGH_ADMIRALTY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRALTY_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = COMMONWEALTH_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


	#military_dictatorship
	text = {
		localisation_key = MILITARY_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}

	#greek_pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_DT_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}

	#pirate_daimyo_government
	text = {
		localisation_key = PIRATE_DAIMYO_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = SOO
			has_government_attribute = is_pirate_republic_reform
			is_subject_of_type = daimyo_vassal
		}
	}

	#pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_DT_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}

	#pirate_kingdom
	text = {
		localisation_key = PIRATE_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_GOV_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_DT_CAP
		trigger = {
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = HORDE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

	#ilkhanate_march
	text = {
		localisation_key = ILKHANATE_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = ILK
			is_march = yes
		}
	}

	#celestial_parliament
	text = {
		localisation_key = PARLIAMENT_OF_HEAVEN_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

	#Subject Specific
	#ottoman_marches
	text = {
		localisation_key = PASHALIK_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			is_march = yes
			religion_group = muslim
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#ottoman_vassals
	text = {
		localisation_key = BEYLIK_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			religion_group = muslim
			NOT = { is_march = yes }
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#march_christian_monarchy
	text = {
		localisation_key = MARCH_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROYALTY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

	#gov_papal_government_elector
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
				is_elector = yes
		}
	}



	#palatine_electorate
	text = {
		localisation_key = ELECTORAL_PALATINATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTORAL_PALATINATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTY_PALATINE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KINGDOM_PALATINE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGSEG_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = GRAND_HERCEGSEG_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = ELECTORATE_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = ELECTORATE_BISHOPRIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCHATE_DT_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = ELECTORAL_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_ELECTORAL_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_ELECTORAL_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = DAIMYO_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFATE_DT_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = EMIRATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRATE_DT_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}

	#hunyadi_regent_monarchy
	text = {
		localisation_key = DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEYLIK_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = DESPOTATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = BARANGAY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}

	#scanian_peasant_republic
	text = {
		localisation_key = SOGN_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = HERRED_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = BONDEVALDE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}

	#pagan_greek_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}

	#pagan_roman_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGANATE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWABATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAMATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWABATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}

	#bharat_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}

	#hindu_maratha_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = BARANGAY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = MONG_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = MONG_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = BARANGAY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARLDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORDSHIP_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GRAND_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARDOM_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARDOM_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = CAH_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = KUCHKABAL_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = GREAT_LEAGUE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = ALTEPETL_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = ALTEPETL_FEDERATION_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = SULTANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}

	#Republics
	#german_free_city
	text = {
		localisation_key = FREE_CITY_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = FREE_CITY_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
		}
	}

	#If only two first levels used then reorder so that only 2 and 3 are used
	#iberian_colonial_government
	text = {
		localisation_key = COLONY_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			culture_group = iberian
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}
	#If only two first levels used then reorder so that only 2 and 3 are used
	#dutch_colonial_government
	text = {
		localisation_key = COLONY_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			primary_culture = dutch
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#zaporozhian_republic
	text = {
		localisation_key = HETMANATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GRAND_HETMANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMANATE_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = UNITED_PROVINCES_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#russian_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#south_slavic_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#florentine_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = principality }
			OR = {
				religion = coptic
				religion = orthodox
			}
			is_march = yes
		}
	}

	#gov_holy_horde
	text = {
		localisation_key = CRUSADER_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_ORDER_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}

	#gov_steppe_horde
	text = {
		localisation_key = HORDE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHANATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHAGANATE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = TRIBE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}

	#gov_colonial_government
	text = {
		localisation_key = COLONY_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#federal_monarchy_statists
	text = {
		localisation_key = UNITED_PROVINCES_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#federal_monarchy_monarchists
	text = {
		localisation_key = UNITED_PROVINCES_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#noble_republic
	text = {
		localisation_key = PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = DESPOTISM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = DICTATORSHIP_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENTIAL_DICTATORSHIP_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = DAIMYO_DT_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = INDEP_DAIMYO_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GRAND_INDEP_DAIMYO_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GREAT_INDEP_DAIMYO_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GRAND_CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GREAT_CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = USA
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#hre_county
	text = {
		localisation_key = COUNTY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}


	#Ikko-Ikki Peasants

	#ikko_ikki_peasants
	text = {
		localisation_key = IKKO_IKKI_COMMUNE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#Theocracies - Specified Religion / Culture

	#ikko_ikki_temple
	text = {
		localisation_key = IKKO_IKKI_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#asian_monastic_order
	text = {
		localisation_key = WARRIOR_MONK_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = WARRIOR_MONK_HIGH_ORDER_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = DIVINE_PROTECTORS_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#northerner_king_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#northerner_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_ORDER_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_CONFEDERATION_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}

	#brewing_order
	text = {
		localisation_key = TRAPPIST_STATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWING_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISL_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = CONFEDERATION_DT_CAP
		trigger = {
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAMATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAMATE_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAMATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = METROPOLIS_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_METROPOLIS_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = MONASTIC_ORDER_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = SISTERHOOD_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = SISTERHOOD_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_SISTERHOOD_DT_CAP
		trigger = {
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHY_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = REPUBLIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_DT_CAP
		trigger = {
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOPRIC_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_DT_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFDOM_DT_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_DT_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_DT_CAP
		trigger = {
			government_rank = 3 
			government = tribal
		}
	}
}
defined_text = {
	name = GetGovernmentTV_CAP
	#stateless_society
	text = {
		localisation_key = STATELESS_SOCIETY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = ISLAMIC_CALIPHATE_TV_CAP
		trigger = {
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = REVOLUTIONARY_PEASANT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

	#revolutionary_spanish_republic
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}

	#revolutionary_swedish_republic
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}

	#revolutionary_danish_republic
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}

	#revolutionary_ottoman_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}

	#gov_revolutionary_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

	#gov_german_empire
	text = {
		localisation_key = KAISERREICH_TV_CAP
		trigger = {
			government_rank = 3 
			culture_group = germanic
			government_rank = 3
			OR = {
				tag = HLR
				tag = GER
			}
			government = monarchy
		}
	}

	#gov_prussian_republic
	text = {
		localisation_key = STRATOCRACY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = ADMIRALTY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = HIGH_ADMIRALTY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRALTY_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = COMMONWEALTH_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


	#military_dictatorship
	text = {
		localisation_key = MILITARY_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}

	#greek_pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_TV_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}

	#pirate_daimyo_government
	text = {
		localisation_key = PIRATE_DAIMYO_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = SOO
			has_government_attribute = is_pirate_republic_reform
			is_subject_of_type = daimyo_vassal
		}
	}

	#pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_TV_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}

	#pirate_kingdom
	text = {
		localisation_key = PIRATE_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_GOV_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_TV_CAP
		trigger = {
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = HORDE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

	#ilkhanate_march
	text = {
		localisation_key = ILKHANATE_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = ILK
			is_march = yes
		}
	}

	#celestial_parliament
	text = {
		localisation_key = PARLIAMENT_OF_HEAVEN_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

	#Subject Specific
	#ottoman_marches
	text = {
		localisation_key = PASHALIK_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			is_march = yes
			religion_group = muslim
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#ottoman_vassals
	text = {
		localisation_key = BEYLIK_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			religion_group = muslim
			NOT = { is_march = yes }
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#march_christian_monarchy
	text = {
		localisation_key = MARCH_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROYALTY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

	#gov_papal_government_elector
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
				is_elector = yes
		}
	}



	#palatine_electorate
	text = {
		localisation_key = ELECTORAL_PALATINATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTORAL_PALATINATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTY_PALATINE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KINGDOM_PALATINE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGSEG_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = GRAND_HERCEGSEG_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = ELECTORATE_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = ELECTORATE_BISHOPRIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCHATE_TV_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = ELECTORAL_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_ELECTORAL_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_ELECTORAL_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = DAIMYO_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFATE_TV_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = EMIRATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRATE_TV_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}

	#hunyadi_regent_monarchy
	text = {
		localisation_key = DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEYLIK_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = DESPOTATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = BARANGAY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}

	#scanian_peasant_republic
	text = {
		localisation_key = SOGN_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = HERRED_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = BONDEVALDE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}

	#pagan_greek_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}

	#pagan_roman_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGANATE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWABATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAMATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWABATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}

	#bharat_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}

	#hindu_maratha_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = BARANGAY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = MONG_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = MONG_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = BARANGAY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARLDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORDSHIP_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GRAND_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARDOM_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARDOM_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = CAH_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = KUCHKABAL_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = GREAT_LEAGUE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = ALTEPETL_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = ALTEPETL_FEDERATION_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = SULTANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}

	#Republics
	#german_free_city
	text = {
		localisation_key = FREE_CITY_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = FREE_CITY_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
		}
	}

	#If only two first levels used then reorder so that only 2 and 3 are used
	#iberian_colonial_government
	text = {
		localisation_key = COLONY_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			culture_group = iberian
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}
	#If only two first levels used then reorder so that only 2 and 3 are used
	#dutch_colonial_government
	text = {
		localisation_key = COLONY_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			primary_culture = dutch
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#zaporozhian_republic
	text = {
		localisation_key = HETMANATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GRAND_HETMANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMANATE_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = UNITED_PROVINCES_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#russian_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#south_slavic_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#florentine_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = principality }
			OR = {
				religion = coptic
				religion = orthodox
			}
			is_march = yes
		}
	}

	#gov_holy_horde
	text = {
		localisation_key = CRUSADER_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_ORDER_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}

	#gov_steppe_horde
	text = {
		localisation_key = HORDE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHANATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHAGANATE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = TRIBE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}

	#gov_colonial_government
	text = {
		localisation_key = COLONY_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#federal_monarchy_statists
	text = {
		localisation_key = UNITED_PROVINCES_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#federal_monarchy_monarchists
	text = {
		localisation_key = UNITED_PROVINCES_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#noble_republic
	text = {
		localisation_key = PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = DESPOTISM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = DICTATORSHIP_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENTIAL_DICTATORSHIP_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = DAIMYO_TV_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = INDEP_DAIMYO_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GRAND_INDEP_DAIMYO_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GREAT_INDEP_DAIMYO_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GRAND_CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GREAT_CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = USA
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#hre_county
	text = {
		localisation_key = COUNTY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}


	#Ikko-Ikki Peasants

	#ikko_ikki_peasants
	text = {
		localisation_key = IKKO_IKKI_COMMUNE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#Theocracies - Specified Religion / Culture

	#ikko_ikki_temple
	text = {
		localisation_key = IKKO_IKKI_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#asian_monastic_order
	text = {
		localisation_key = WARRIOR_MONK_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = WARRIOR_MONK_HIGH_ORDER_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = DIVINE_PROTECTORS_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#northerner_king_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#northerner_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_ORDER_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_CONFEDERATION_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}

	#brewing_order
	text = {
		localisation_key = TRAPPIST_STATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWING_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISL_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = CONFEDERATION_TV_CAP
		trigger = {
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAMATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAMATE_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAMATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = METROPOLIS_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_METROPOLIS_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = MONASTIC_ORDER_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = SISTERHOOD_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = SISTERHOOD_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_SISTERHOOD_TV_CAP
		trigger = {
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHY_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = REPUBLIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_TV_CAP
		trigger = {
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOPRIC_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_TV_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFDOM_TV_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_TV_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_TV_CAP
		trigger = {
			government_rank = 3 
			government = tribal
		}
	}
}
defined_text = {
	name = GetGovernmentPR_CAP
	#stateless_society
	text = {
		localisation_key = STATELESS_SOCIETY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = STATELESS_SOCIETY_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = ISLAMIC_CALIPHATE_PR_CAP
		trigger = {
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = REVOLUTIONARY_PEASANT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

	#revolutionary_spanish_republic
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SPANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = SPA
		}
	}

	#revolutionary_swedish_republic
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_SWEDISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = SWE
				AND = {
					tag = SCA
					NOT = { was_tag = DAN }
					NOT = { was_tag = NOR }
				}
			}
		}
	}

	#revolutionary_danish_republic
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}
	text = {
		localisation_key = REVOLUTIONARY_DANISH_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = DAN
				tag = NOR
				AND = {
					tag = SCA
					OR = {
						was_tag = DAN
						was_tag = NOR
					}
				}
			}
		}
	}

	#revolutionary_ottoman_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			OR = {
				tag = GER
				tag = PRU
				tag = BAV
				tag = SWA
				tag = FKN
				tag = HAN
				tag = WES
				tag = SAX
				tag = POM
			}
		}
	}

	#gov_revolutionary_republic
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = GOV_REVOLUTIONARY_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

	#gov_german_empire
	text = {
		localisation_key = KAISERREICH_PR_CAP
		trigger = {
			government_rank = 3 
			culture_group = germanic
			government_rank = 3
			OR = {
				tag = HLR
				tag = GER
			}
			government = monarchy
		}
	}

	#gov_prussian_republic
	text = {
		localisation_key = STRATOCRACY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = STRATOCRACY_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = ADMIRALTY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = HIGH_ADMIRALTY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRALTY_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = COMMONWEALTH_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = COMMONWEALTH_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SAVANAROLA_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


	#military_dictatorship
	text = {
		localisation_key = MILITARY_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}
	text = {
		localisation_key = MILITARY_GOVERNMENT_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = military_dictatorship_reform
				has_reform = military_rulership_reform
			}
		}
	}

	#greek_pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_PR_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			primary_culture = greek
		}
	}

	#pirate_daimyo_government
	text = {
		localisation_key = PIRATE_DAIMYO_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = SOO
			has_government_attribute = is_pirate_republic_reform
			is_subject_of_type = daimyo_vassal
		}
	}

	#pirate_government
	text = {
		localisation_key = PIRATE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = PIRATE_CONFEDERACY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}
	text = {
		localisation_key = GRAND_PIRATE_CONFEDERACY_PR_CAP
		trigger = {
			government_rank = 3 
			has_government_attribute = is_pirate_republic_reform
			NOT = { has_reform = pirate_king_reform }
			NOT = { primary_culture = greek }
		}
	}

	#pirate_kingdom
	text = {
		localisation_key = PIRATE_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_GOV_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_GOV_PR_CAP
		trigger = {
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = HORDE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

	#ilkhanate_march
	text = {
		localisation_key = ILKHANATE_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			tag = ILK
			is_march = yes
		}
	}

	#celestial_parliament
	text = {
		localisation_key = PARLIAMENT_OF_HEAVEN_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

	#Subject Specific
	#ottoman_marches
	text = {
		localisation_key = PASHALIK_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			is_march = yes
			religion_group = muslim
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#ottoman_vassals
	text = {
		localisation_key = BEYLIK_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			religion_group = muslim
			NOT = { is_march = yes }
			overlord = {
				primary_culture = turkish
			}
		}
	}

	#march_christian_monarchy
	text = {
		localisation_key = MARCH_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROYALTY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

	#gov_papal_government_elector
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
				is_elector = yes
		}
	}
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
				is_elector = yes
		}
	}



	#palatine_electorate
	text = {
		localisation_key = ELECTORAL_PALATINATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTORAL_PALATINATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTY_PALATINE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KINGDOM_PALATINE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGSEG_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = GRAND_HERCEGSEG_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = ELECTORATE_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = ELECTORATE_BISHOPRIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCHATE_PR_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = ELECTORAL_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_ELECTORAL_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_ELECTORAL_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = DAIMYO_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFATE_PR_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGANATE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = EMIRATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRATE_PR_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				AND = {
					tag = DAN
					government = monarchy
					has_ruler = "Christopher III"
				}
				has_ruler_flag = has_proclaimed_archking_title
			}
		}
	}

	#hunyadi_regent_monarchy
	text = {
		localisation_key = DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEYLIK_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = DESPOTATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = BARANGAY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = enlightened_despotism
				has_reform = letat_cest_moi_reform
				has_reform = regional_representation_reform
			}
			primary_culture = al_misr_arabic #Egyptian
			religion_group = muslim
		}
	}

	#scanian_peasant_republic
	text = {
		localisation_key = SOGN_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = HERRED_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = BONDEVALDE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = al_misr_arabic #Egyptian
					religion = animism
				}
				primary_culture = old_egyptian
			}
		}
	}

	#pagan_greek_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = greek
					religion = animism
				}
				primary_culture = athenian
				primary_culture = spartan
				primary_culture = atlantean
			}
		}
	}

	#pagan_roman_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGANATE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWABATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAMATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWABATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = dravidian
				culture_group = western_aryan
				culture_group = hindusthani
				culture_group = eastern_aryan
				has_reform = indian_sultanate_reform
			}
			religion_group = muslim
		}
	}

	#bharat_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = administrative_monarchy
				has_reform = clergy_in_administration_reform
				has_reform = of_noble_bearing_reform
				has_reform = meritocratic_focus_reform
			}
			primary_culture = marathi
			religion = hinduism
		}
	}

	#hindu_maratha_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = BARANGAY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = MONG_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = MONG_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = BARANGAY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GRAND_BARANGAY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = GREAT_BARANGAY_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARLDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORDSHIP_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GRAND_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARDOM_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARDOM_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = CAH_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = KUCHKABAL_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = GREAT_LEAGUE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = ALTEPETL_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = ALTEPETL_FEDERATION_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = SULTANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = steppe_horde }
			religion_group = muslim
			NOT = { has_reform = feudal_theocracy }
		}
	}

	#Republics
	#german_free_city
	text = {
		localisation_key = FREE_CITY_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = FREE_CITY_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
		}
	}

	#If only two first levels used then reorder so that only 2 and 3 are used
	#iberian_colonial_government
	text = {
		localisation_key = COLONY_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			culture_group = iberian
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}
	#If only two first levels used then reorder so that only 2 and 3 are used
	#dutch_colonial_government
	text = {
		localisation_key = COLONY_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			primary_culture = dutch
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#zaporozhian_republic
	text = {
		localisation_key = HETMANATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GRAND_HETMANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMANATE_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = UNITED_PROVINCES_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			primary_culture = dutch
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#russian_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#south_slavic_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = south_slavic
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#florentine_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = MOST_SERENE_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = principality }
			OR = {
				religion = coptic
				religion = orthodox
			}
			is_march = yes
		}
	}

	#gov_holy_horde
	text = {
		localisation_key = CRUSADER_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_ORDER_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}
	text = {
		localisation_key = CRUSADER_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3
			OR = {
				has_reform = holy_horde_reform
				has_reform = crusading_kingdom_reform
				has_reform = militarized_crusader_order_reform
			}
		}
	}

	#gov_steppe_horde
	text = {
		localisation_key = HORDE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHANATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}
	text = {
		localisation_key = KHAGANATE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = TRIBE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = TRIBE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				government = native
				has_reform = siberian_tribe
				has_reform = native_basic_reform
				AND = {
					has_reform = steppe_horde
					NOT = {
						OR = { 
							culture_group = altaic 
							culture_group = tartar 
							primary_culture = altaic_new 
						}
					}
				}
			}
		}
	}

	#gov_colonial_government
	text = {
		localisation_key = COLONY_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			OR = {
				has_reform = colonial_government
				has_reform = crown_colony_government
				has_reform = private_enterprise_colony_government
				has_reform = self_governing_colony_government
			}
		}
	}

	#federal_monarchy_statists
	text = {
		localisation_key = UNITED_PROVINCES_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_statists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#federal_monarchy_monarchists
	text = {
		localisation_key = UNITED_PROVINCES_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = states_general_reform
			is_monarchists_in_power = yes
			NOT = { has_reform = parliamentary_reform }
			NOT = { has_reform = presidential_reform }
			NOT = { is_revolutionary_republic_trigger = yes }
			NOT = { has_reform = constitutional_republic }
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#noble_republic
	text = {
		localisation_key = PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GRAND_PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCEDOM_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = DESPOTISM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = DICTATORSHIP_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENTIAL_DICTATORSHIP_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = PAPACY_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = DAIMYO_PR_CAP
		trigger = {
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = INDEP_DAIMYO_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GRAND_INDEP_DAIMYO_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = GREAT_INDEP_DAIMYO_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GRAND_CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = GREAT_CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = USA
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}
	text = {
		localisation_key = FEDERAL_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
			OR = {
				has_reform = constitutional_republic
				has_reform = presidential_reform
				has_reform = parliamentary_reform
			}
			NOT = { has_reform = presidential_despot_reform }
		}
	}

	#hre_county
	text = {
		localisation_key = COUNTY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}


	#Ikko-Ikki Peasants

	#ikko_ikki_peasants
	text = {
		localisation_key = IKKO_IKKI_COMMUNE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = peasants_republic
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#Theocracies - Specified Religion / Culture

	#ikko_ikki_temple
	text = {
		localisation_key = IKKO_IKKI_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_SHOGUN_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = IKKO_IKKI_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = leading_clergy_reform
				has_reform = monastic_order_reform
			}
			has_country_flag = ikko_ikki_peasants_flag
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#asian_monastic_order
	text = {
		localisation_key = WARRIOR_MONK_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = WARRIOR_MONK_HIGH_ORDER_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}
	text = {
		localisation_key = DIVINE_PROTECTORS_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				religion_group = eastern
				culture_group = japanese_g
				capital_scope = {
					region = japan_region
				}
			}
		}
	}

	#northerner_king_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_LONG_KNIGHTS_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			has_reform = commander_king_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#northerner_monastic_order
	text = {
		localisation_key = BLACK_KNIGHTS_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}
	text = {
		localisation_key = BLACK_WATCH_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			OR = {
				tag = NOL
				capital_scope = {
					area = yorkshire_area
				}
				capital_scope = {
					area = scottish_marches_area
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = MONASTIC_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_ORDER_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}
	text = {
		localisation_key = SOVREIGN_MONASTIC_CONFEDERATION_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					has_reform = holy_state_reform
				}
			}
			culture_group = germanic
		}
	}

	#brewing_order
	text = {
		localisation_key = TRAPPIST_STATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWING_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISL_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = CONFEDERATION_PR_CAP
		trigger = {
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAMATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAMATE_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IMAMATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAMATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IMAMATE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = METROPOLIS_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_METROPOLIS_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = HOLY_PRINCIPALITY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HOLY_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = MONASTIC_ORDER_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_STATE_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = MONASTIC_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = SISTERHOOD_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = SISTERHOOD_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_SISTERHOOD_PR_CAP
		trigger = {
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHY_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = REPUBLIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_REPUBLIC_PR_CAP
		trigger = {
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOPRIC_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOPRIC_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCHATE_PR_CAP
		trigger = {
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFDOM_PR_CAP
		trigger = {
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_KINGDOM_PR_CAP
		trigger = {
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = TRIBAL_EMPIRE_PR_CAP
		trigger = {
			government_rank = 3 
			government = tribal
		}
	}
}