
####################################################################################################
###																								 ###
###						   	Падежи титулов правителя с прописной буквы							 ###
###																								 ###
###																								 ###
###						   Титулы прописаны с уже готовыми окончаниями!							 ###
###				В большинстве из них учитывается пол, задающийся папкой government_names		 ###
###																								 ###
###	  Именительный (Кто, что?) - "[LIT.GetTitleIM_CAP]" : "Великий князь", "Великая княгиня"  	 ###
###	  Родительный (Кого, чего?) - "[LIT.GetTitleRD_CAP]" : "Великого князя", "Великой княгини"   ###
###	  Дательный (Кому, чему?) - "[LIT.GetTitleDT_CAP]" : "Великому князю", "Великой княгине"  	 ###
###	  Винительный (Кого, что?) - "[LIT.GetTitleVN_CAP]" : "Великого князя", "Великую княгиню" 	 ###
###	  Творительный (Кем, чем?) - "[LIT.GetTitleTV_CAP]" : "Великим князем", "Великой княгиней"   ###
###	  Предложный (О ком, о чём?) - "[LIT.GetTitlePR_CAP]" : "Великом князе", "Великой княгине"   ###
###																								 ###
###						  			 Локализация в: gks_titleCAP								 ###
###																								 ###
####################################################################################################


defined_text = {
	name = GetTitleIM_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_IM_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_IM_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_IM_CAP
		trigger = {
			is_female = no
			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 = CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = no
			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 = LORD_IM_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_IM_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_IM_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_IM_CAP
		trigger = {
			is_female = no
			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_PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_IM_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_IM_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_IM_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			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 = DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_IM_CAP
		trigger = {
			is_female = no
			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 = DESPOT_IM_CAP
		trigger = {
			is_female = no
			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 = CAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_IM_CAP
		trigger = {
			is_female = no
			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 = SULTAN_IM_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_IM_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_IM_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_IM_CAP
		trigger = {
			is_female = no
			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 = TYRANT_IM_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_IM_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_IM_CAP
		trigger = {
			is_female = no
			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 = CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_IM_CAP
		trigger = {
			is_female = no
			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 = SULTAN_IM_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_IM_CAP
		trigger = {
			is_female = no
			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 = RAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_IM_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_IM_CAP
		trigger = {
			is_female = no
			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 = PESHWA_IM_CAP
		trigger = {
			is_female = no
			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 = RAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_IM_CAP
		trigger = {
			is_female = no
			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 = NEGUS_IM_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_IM_CAP
		trigger = {
			is_female = no
			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_LAKAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_IM_CAP
		trigger = {
			is_female = no
			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 = SULTAN_IM_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_IM_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_IM_CAP
		trigger = {
			is_female = no
			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 = VICEROY_IM_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_IM_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_IM_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_IM_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_IM_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_IM_CAP
		trigger = {
			is_female = no
			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_POSADNIK_IM_CAP
		trigger = {
			is_female = no
			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_POSADNIK_IM_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_IM_CAP
		trigger = {
			is_female = no
			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 = DUZHD_IM_CAP
		trigger = {
			is_female = no
			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 = PRINC_IM_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			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_IM_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_IM_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_IM_CAP
		trigger = {
			is_female = no
			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 = JINONG_IM_CAP
		trigger = {
			is_female = no
			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 = KHAN_IM_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_IM_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_IM_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_IM_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_IM_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_IM_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_IM_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_IM_CAP
		trigger = {
			is_female = no
			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 = DUKE_IM_CAP
		trigger = {
			is_female = no
			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 = KING_IM_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			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 = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_IM_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_IM_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_IM_CAP
		trigger = {
			is_female = no
			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 = COUNT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = no
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = no
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_IM_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_IM_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_IM_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_IM_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_IM_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_IM_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_IM_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_IM_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_IM_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_IM_CAP
		trigger = {
			is_female = no
			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_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IM_CAPAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IM_CAPAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_IM_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_IM_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_IM_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_IM_CAP
		trigger = {
			is_female = yes
			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 = LADY_IM_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_IM_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_IM_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_IM_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_IM_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_IM_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_IM_CAP
		trigger = {
			is_female = yes
			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 = CARICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_IM_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_IM_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_IM_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_IM_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_IM_CAP
		trigger = {
			is_female = yes
			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 = RANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_IM_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_IM_CAP
		trigger = {
			is_female = yes
			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 = RANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_IM_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_IM_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_IM_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_IM_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_IM_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_IM_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_IM_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_IM_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_IM_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_IM_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_IM_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_IM_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_IM_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_IM_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_IM_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_IM_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_IM_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			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_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = JINONG_IM_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_IM_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_IM_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			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 = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_IM_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_IM_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_IM_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_IM_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_IM_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_IM_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_IM_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_IM_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IM_CAPAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_IM_CAPAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_IM_CAPAM_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_IM_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}

defined_text = {
	name = GetTitleRD_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_RD_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_RD_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_RD_CAP
		trigger = {
			is_female = no
			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 = CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = no
			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 = LORD_RD_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_RD_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_RD_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_RD_CAP
		trigger = {
			is_female = no
			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_PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_RD_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_RD_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_RD_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			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 = DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_RD_CAP
		trigger = {
			is_female = no
			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 = DESPOT_RD_CAP
		trigger = {
			is_female = no
			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 = CAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_RD_CAP
		trigger = {
			is_female = no
			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 = SULTAN_RD_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_RD_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_RD_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_RD_CAP
		trigger = {
			is_female = no
			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 = TYRANT_RD_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_RD_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_RD_CAP
		trigger = {
			is_female = no
			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 = CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_RD_CAP
		trigger = {
			is_female = no
			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 = SULTAN_RD_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_RD_CAP
		trigger = {
			is_female = no
			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 = RAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_RD_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_RD_CAP
		trigger = {
			is_female = no
			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 = PESHWA_RD_CAP
		trigger = {
			is_female = no
			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 = RAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_RD_CAP
		trigger = {
			is_female = no
			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 = NEGUS_RD_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_RD_CAP
		trigger = {
			is_female = no
			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_LAKAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_RD_CAP
		trigger = {
			is_female = no
			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 = SULTAN_RD_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_RD_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_RD_CAP
		trigger = {
			is_female = no
			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 = VICEROY_RD_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_RD_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_RD_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_RD_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_RD_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_RD_CAP
		trigger = {
			is_female = no
			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_POSADNIK_RD_CAP
		trigger = {
			is_female = no
			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_POSADNIK_RD_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_RD_CAP
		trigger = {
			is_female = no
			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 = DUZHD_RD_CAP
		trigger = {
			is_female = no
			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 = PRINC_RD_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			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_RD_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_RD_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_RD_CAP
		trigger = {
			is_female = no
			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 = JINONG_RD_CAP
		trigger = {
			is_female = no
			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 = KHAN_RD_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_RD_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_RD_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_RD_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_RD_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_RD_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_RD_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_RD_CAP
		trigger = {
			is_female = no
			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 = DUKE_RD_CAP
		trigger = {
			is_female = no
			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 = KING_RD_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			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 = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_RD_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_RD_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_RD_CAP
		trigger = {
			is_female = no
			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 = COUNT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = no
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = no
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_RD_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_RD_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_RD_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_RD_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_RD_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_RD_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_RD_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_RD_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_RD_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_RD_CAP
		trigger = {
			is_female = no
			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_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_RD_CAPAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_RD_CAPAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_RD_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_RD_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_RD_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_RD_CAP
		trigger = {
			is_female = yes
			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 = LADY_RD_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_RD_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_RD_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_RD_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_RD_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_RD_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_RD_CAP
		trigger = {
			is_female = yes
			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 = CARICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_RD_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_RD_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_RD_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_RD_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_RD_CAP
		trigger = {
			is_female = yes
			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 = RANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_RD_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_RD_CAP
		trigger = {
			is_female = yes
			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 = RANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_RD_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_RD_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_RD_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_RD_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_RD_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_RD_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_RD_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_RD_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_RD_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_RD_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_RD_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_RD_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_RD_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_RD_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_RD_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_RD_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_RD_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			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_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = JINONG_RD_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_RD_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_RD_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			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 = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_RD_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_RD_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_RD_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_RD_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_RD_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_RD_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_RD_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_RD_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_RD_CAPAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_RD_CAPAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_RD_CAPAM_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_RD_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}

defined_text = {
	name = GetTitleDT_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_DT_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_DT_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_DT_CAP
		trigger = {
			is_female = no
			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 = CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = no
			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 = LORD_DT_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_DT_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_DT_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_DT_CAP
		trigger = {
			is_female = no
			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_PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_DT_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_DT_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_DT_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			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 = DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_DT_CAP
		trigger = {
			is_female = no
			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 = DESPOT_DT_CAP
		trigger = {
			is_female = no
			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 = CAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_DT_CAP
		trigger = {
			is_female = no
			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 = SULTAN_DT_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_DT_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_DT_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_DT_CAP
		trigger = {
			is_female = no
			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 = TYRANT_DT_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_DT_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_DT_CAP
		trigger = {
			is_female = no
			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 = CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_DT_CAP
		trigger = {
			is_female = no
			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 = SULTAN_DT_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_DT_CAP
		trigger = {
			is_female = no
			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 = RAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_DT_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_DT_CAP
		trigger = {
			is_female = no
			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 = PESHWA_DT_CAP
		trigger = {
			is_female = no
			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 = RAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_DT_CAP
		trigger = {
			is_female = no
			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 = NEGUS_DT_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_DT_CAP
		trigger = {
			is_female = no
			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_LAKAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_DT_CAP
		trigger = {
			is_female = no
			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 = SULTAN_DT_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_DT_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_DT_CAP
		trigger = {
			is_female = no
			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 = VICEROY_DT_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_DT_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_DT_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_DT_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_DT_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_DT_CAP
		trigger = {
			is_female = no
			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_POSADNIK_DT_CAP
		trigger = {
			is_female = no
			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_POSADNIK_DT_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_DT_CAP
		trigger = {
			is_female = no
			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 = DUZHD_DT_CAP
		trigger = {
			is_female = no
			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 = PRINC_DT_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			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_DT_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_DT_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_DT_CAP
		trigger = {
			is_female = no
			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 = JINONG_DT_CAP
		trigger = {
			is_female = no
			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 = KHAN_DT_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_DT_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_DT_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_DT_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_DT_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_DT_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_DT_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_DT_CAP
		trigger = {
			is_female = no
			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 = DUKE_DT_CAP
		trigger = {
			is_female = no
			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 = KING_DT_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			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 = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_DT_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_DT_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_DT_CAP
		trigger = {
			is_female = no
			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 = COUNT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = no
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = no
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_DT_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_DT_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_DT_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_DT_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_DT_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_DT_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_DT_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_DT_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_DT_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_DT_CAP
		trigger = {
			is_female = no
			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_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_DT_CAPAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_DT_CAPAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_DT_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_DT_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_DT_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_DT_CAP
		trigger = {
			is_female = yes
			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 = LADY_DT_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_DT_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_DT_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_DT_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_DT_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_DT_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_DT_CAP
		trigger = {
			is_female = yes
			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 = CARICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_DT_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_DT_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_DT_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_DT_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_DT_CAP
		trigger = {
			is_female = yes
			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 = RANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_DT_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_DT_CAP
		trigger = {
			is_female = yes
			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 = RANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_DT_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_DT_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_DT_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_DT_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_DT_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_DT_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_DT_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_DT_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_DT_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_DT_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_DT_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_DT_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_DT_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_DT_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_DT_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_DT_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_DT_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			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_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = JINONG_DT_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_DT_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_DT_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			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 = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_DT_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_DT_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_DT_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_DT_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_DT_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_DT_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_DT_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}
	
	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_DT_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_DT_CAPAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_DT_CAPAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_DT_CAPAM_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_DT_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}

defined_text = {
	name = GetTitleVN_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_VN_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_VN_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_VN_CAP
		trigger = {
			is_female = no
			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 = CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = no
			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 = LORD_VN_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_VN_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_VN_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_VN_CAP
		trigger = {
			is_female = no
			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_PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_VN_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_VN_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_VN_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			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 = DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_VN_CAP
		trigger = {
			is_female = no
			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 = DESPOT_VN_CAP
		trigger = {
			is_female = no
			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 = CAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_VN_CAP
		trigger = {
			is_female = no
			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 = SULTAN_VN_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_VN_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_VN_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_VN_CAP
		trigger = {
			is_female = no
			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 = TYRANT_VN_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_VN_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_VN_CAP
		trigger = {
			is_female = no
			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 = CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_VN_CAP
		trigger = {
			is_female = no
			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 = SULTAN_VN_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_VN_CAP
		trigger = {
			is_female = no
			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 = RAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_VN_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_VN_CAP
		trigger = {
			is_female = no
			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 = PESHWA_VN_CAP
		trigger = {
			is_female = no
			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 = RAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_VN_CAP
		trigger = {
			is_female = no
			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 = NEGUS_VN_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_VN_CAP
		trigger = {
			is_female = no
			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_LAKAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_VN_CAP
		trigger = {
			is_female = no
			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 = SULTAN_VN_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_VN_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_VN_CAP
		trigger = {
			is_female = no
			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 = VICEROY_VN_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_VN_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_VN_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_VN_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_VN_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_VN_CAP
		trigger = {
			is_female = no
			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_POSADNIK_VN_CAP
		trigger = {
			is_female = no
			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_POSADNIK_VN_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_VN_CAP
		trigger = {
			is_female = no
			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 = DUZHD_VN_CAP
		trigger = {
			is_female = no
			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 = PRINC_VN_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			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_VN_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_VN_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_VN_CAP
		trigger = {
			is_female = no
			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 = JINONG_VN_CAP
		trigger = {
			is_female = no
			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 = KHAN_VN_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_VN_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_VN_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_VN_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_VN_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_VN_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_VN_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_VN_CAP
		trigger = {
			is_female = no
			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 = DUKE_VN_CAP
		trigger = {
			is_female = no
			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 = KING_VN_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			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 = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_VN_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_VN_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_VN_CAP
		trigger = {
			is_female = no
			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 = COUNT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = no
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = no
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_VN_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_VN_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_VN_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_VN_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_VN_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_VN_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_VN_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_VN_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_VN_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_VN_CAP
		trigger = {
			is_female = no
			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_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_VN_CAPAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_VN_CAPAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_VN_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_VN_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_VN_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_VN_CAP
		trigger = {
			is_female = yes
			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 = LADY_VN_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_VN_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_VN_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_VN_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_VN_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_VN_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_VN_CAP
		trigger = {
			is_female = yes
			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 = CARICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_VN_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_VN_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_VN_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_VN_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_VN_CAP
		trigger = {
			is_female = yes
			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 = RANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_VN_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_VN_CAP
		trigger = {
			is_female = yes
			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 = RANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_VN_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_VN_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_VN_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_VN_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_VN_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_VN_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_VN_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_VN_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_VN_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_VN_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_VN_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_VN_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_VN_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_VN_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_VN_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_VN_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_VN_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			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_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = JINONG_VN_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_VN_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_VN_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			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 = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_VN_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_VN_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_VN_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_VN_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_VN_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_VN_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_VN_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_VN_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_VN_CAPAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_VN_CAPAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_VN_CAPAM_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_VN_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}

defined_text = {
	name = GetTitleTV_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_TV_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_TV_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_TV_CAP
		trigger = {
			is_female = no
			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 = CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = no
			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 = LORD_TV_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_TV_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_TV_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_TV_CAP
		trigger = {
			is_female = no
			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_PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_TV_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_TV_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_TV_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			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 = DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_TV_CAP
		trigger = {
			is_female = no
			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 = DESPOT_TV_CAP
		trigger = {
			is_female = no
			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 = CAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_TV_CAP
		trigger = {
			is_female = no
			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 = SULTAN_TV_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_TV_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_TV_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_TV_CAP
		trigger = {
			is_female = no
			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 = TYRANT_TV_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_TV_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_TV_CAP
		trigger = {
			is_female = no
			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 = CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_TV_CAP
		trigger = {
			is_female = no
			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 = SULTAN_TV_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_TV_CAP
		trigger = {
			is_female = no
			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 = RAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_TV_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_TV_CAP
		trigger = {
			is_female = no
			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 = PESHWA_TV_CAP
		trigger = {
			is_female = no
			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 = RAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_TV_CAP
		trigger = {
			is_female = no
			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 = NEGUS_TV_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_TV_CAP
		trigger = {
			is_female = no
			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_LAKAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_TV_CAP
		trigger = {
			is_female = no
			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 = SULTAN_TV_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_TV_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_TV_CAP
		trigger = {
			is_female = no
			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 = VICEROY_TV_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_TV_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_TV_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_TV_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_TV_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_TV_CAP
		trigger = {
			is_female = no
			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_POSADNIK_TV_CAP
		trigger = {
			is_female = no
			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_POSADNIK_TV_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_TV_CAP
		trigger = {
			is_female = no
			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 = DUZHD_TV_CAP
		trigger = {
			is_female = no
			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 = PRINC_TV_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			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_TV_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_TV_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_TV_CAP
		trigger = {
			is_female = no
			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 = JINONG_TV_CAP
		trigger = {
			is_female = no
			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 = KHAN_TV_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_TV_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_TV_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_TV_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_TV_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_TV_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_TV_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_TV_CAP
		trigger = {
			is_female = no
			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 = DUKE_TV_CAP
		trigger = {
			is_female = no
			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 = KING_TV_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			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 = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_TV_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_TV_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_TV_CAP
		trigger = {
			is_female = no
			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 = COUNT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = no
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = no
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_TV_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_TV_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_TV_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_TV_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_TV_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_TV_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_TV_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_TV_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_TV_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_TV_CAP
		trigger = {
			is_female = no
			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_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_TV_CAPAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_TV_CAPAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_TV_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_TV_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_TV_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_TV_CAP
		trigger = {
			is_female = yes
			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 = LADY_TV_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_TV_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_TV_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_TV_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_TV_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_TV_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_TV_CAP
		trigger = {
			is_female = yes
			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 = CARICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_TV_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_TV_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_TV_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_TV_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_TV_CAP
		trigger = {
			is_female = yes
			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 = RANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_TV_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_TV_CAP
		trigger = {
			is_female = yes
			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 = RANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_TV_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_TV_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_TV_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_TV_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_TV_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_TV_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_TV_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_TV_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_TV_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_TV_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_TV_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_TV_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_TV_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_TV_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_TV_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_TV_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_TV_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			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_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = JINONG_TV_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_TV_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_TV_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			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 = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_TV_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_TV_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_TV_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_TV_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_TV_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_TV_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_TV_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_TV_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_TV_CAPAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_TV_CAPAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_TV_CAPAM_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_TV_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}

defined_text = {
	name = GetTitlePR_CAP
	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

	#revolutionary_peasant_republic
	text = {
		localisation_key = GREAT_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			have_had_reform = peasants_republic
			government_rank = 3
		}
	}

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_LAWSPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = SUPREME_VIZIER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_PR_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_PR_CAP
		trigger = {
			is_female = no
			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 = CHAIRMAN_PR_CAP
		trigger = {
			is_female = no
			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 = CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LORD_PROTECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = BROTHER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = BROTHER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = no
			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 = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = no
			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 = LORD_PR_CAP
		trigger = {
			is_female = no
			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 = CAPTAIN_PR_CAP
		trigger = {
			is_female = no
			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 = GRAND_CAPTAIN_PR_CAP
		trigger = {
			is_female = no
			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_ADMIRAL_PR_CAP
		trigger = {
			is_female = no
			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_PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = BEY_PR_CAP
		trigger = {
			is_female = no
			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 = MARGRAVE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEROY_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTOR_PALATINE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTOR_PALATINE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNT_PALATINE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = KING_PALATINE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCE_HERCEG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCE_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = KING_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = PATRIARCH_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSUL_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_ELECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHAGAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_male_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIK_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIK_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUKE_PR_CAP
		trigger = {
			is_female = no
			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 = ARCHKING_PR_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			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 = DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = regent_male_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = BEY_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINC_PR_CAP
		trigger = {
			is_female = no
			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 = DESPOT_PR_CAP
		trigger = {
			is_female = no
			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 = CAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILEUS_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = WANG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = MBRET_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = BEILE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_PR_CAP
		trigger = {
			is_female = no
			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 = SULTAN_PR_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			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 = OLDERMAND_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_PR_CAP
		trigger = {
			is_female = no
			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 = PHARAOH_PR_CAP
		trigger = {
			is_female = no
			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 = GREAT_PHARAOH_PR_CAP
		trigger = {
			is_female = no
			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 = TYRANT_PR_CAP
		trigger = {
			is_female = no
			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 = BASILEUS_PR_CAP
		trigger = {
			is_female = no
			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 = HEGEMON_PR_CAP
		trigger = {
			is_female = no
			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 = CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REX_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = BEILE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHAGAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOIVODE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_PR_CAP
		trigger = {
			is_female = no
			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 = SULTAN_PR_CAP
		trigger = {
			is_female = no
			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 = PADISHAH_PR_CAP
		trigger = {
			is_female = no
			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 = RAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RAJA_PR_CAP
		trigger = {
			is_female = no
			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 = MAHARAJA_PR_CAP
		trigger = {
			is_female = no
			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 = PESHWA_PR_CAP
		trigger = {
			is_female = no
			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 = RAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = RAS_title_PR_CAP
		trigger = {
			is_female = no
			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 = NEGUS_PR_CAP
		trigger = {
			is_female = no
			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 = NEGUSA_NEGAST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGABE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGABE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = OMUKAMA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_OMUKAMA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = BAKUNGU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = MWAMI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = BAKUNGU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = KABAKA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_KABAKA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = ANDRIANONI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GRAND_ANDRIANONI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = GREAT_ANDRIANONI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = FILOHANY_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = MPANJAKE_BE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_PR_CAP
		trigger = {
			is_female = no
			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_LAKAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOIVODE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = EARL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAZ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CUAUHTLAHTOANI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = TLATOANI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = HUEHUETLATOANI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARAJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIR_PR_CAP
		trigger = {
			is_female = no
			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 = SULTAN_PR_CAP
		trigger = {
			is_female = no
			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 = GREAT_SULTAN_PR_CAP
		trigger = {
			is_female = no
			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 = BURGMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYOR_PR_CAP
		trigger = {
			is_female = no
			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 = VICEROY_PR_CAP
		trigger = {
			is_female = no
			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 = DIRECTOR_PR_CAP
		trigger = {
			is_female = no
			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 = ATAMAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_PR_CAP
		trigger = {
			is_female = no
			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 = STADTHOLDER_PR_CAP
		trigger = {
			is_female = no
			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_STADTHOLDER_PR_CAP
		trigger = {
			is_female = no
			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 = POSADNIK_PR_CAP
		trigger = {
			is_female = no
			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_POSADNIK_PR_CAP
		trigger = {
			is_female = no
			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_POSADNIK_PR_CAP
		trigger = {
			is_female = no
			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 = KEFALIJA_PR_CAP
		trigger = {
			is_female = no
			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 = DUZHD_PR_CAP
		trigger = {
			is_female = no
			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 = PRINC_PR_CAP
		trigger = {
			is_female = no
			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 = GONFALONIERE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			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_PR_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_PR_CAP
		trigger = {
			is_female = no
			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 = GRAND_CRUSADER_PR_CAP
		trigger = {
			is_female = no
			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 = JINONG_PR_CAP
		trigger = {
			is_female = no
			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 = KHAN_PR_CAP
		trigger = {
			is_female = no
			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 = KHAGAN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEF_PR_CAP
		trigger = {
			is_female = no
			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 = HIGH_CHIEF_PR_CAP
		trigger = {
			is_female = no
			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 = PARAMOUNT_CHIEF_PR_CAP
		trigger = {
			is_female = no
			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 = GOVERNOR_PR_CAP
		trigger = {
			is_female = no
			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 = SPEAKER_PR_CAP
		trigger = {
			is_female = no
			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 = CHANCELOR_PR_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_PR_CAP
		trigger = {
			is_female = no
			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 = DUKE_PR_CAP
		trigger = {
			is_female = no
			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 = KING_PR_CAP
		trigger = {
			is_female = no
			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 = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			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 = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LORD_PROTECTOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LORD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_PR_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_PR_CAP
		trigger = {
			is_female = no
			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 = PRESIDENT_PR_CAP
		trigger = {
			is_female = no
			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 = COUNT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = no
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = no
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = HIGH_MONSHU_PR_CAP
		trigger = {
			is_female = no
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_PR_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_PR_CAP
		trigger = {
			is_female = no
			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 = KNIGHT_KING_PR_CAP
		trigger = {
			is_female = no
			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 = FIRST_RANGER_PR_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_PR_CAP
		trigger = {
			is_female = no
			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 = LORD_COMMANDER_PR_CAP
		trigger = {
			is_female = no
			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 = HOCHMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_PR_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_PR_CAP
		trigger = {
			is_female = no
			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 = GROSSMEISTER_PR_CAP
		trigger = {
			is_female = no
			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_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPIST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMASTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBED_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = SON_OF_HEAVEN_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_PR_CAPAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_PR_CAPAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = WILLAQ_UMU_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIEST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIEST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIEST_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MASTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MASTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = GRAND_MASTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MASTER_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = COMMANDER_EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUKE_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSUL_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = PATRIARCH_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEF_PR_CAP
		trigger = {
			is_female = no
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = KING_PR_CAP
		trigger = {
			is_female = no
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPEROR_PR_CAP
		trigger = {
			is_female = no
			government_rank = 3 
			government = tribal
		}
	}

	#stateless_society
	text = {
		localisation_key = TRIBAL_LEADER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = stateless_society
		}
	}
	text = {
		localisation_key = TRIBAL_LEADER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = stateless_society
		}
	}

	#kongo_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = tribal
		}
	}

	#kongo_monarchy_kingdom
	text = {
		localisation_key = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = MWENE_KONGO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = KON
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_MWENE_KONGO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = KON
			government = monarchy
		}
	}


	#islamic_caliphate
	text = {
		localisation_key = CALIPHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_country_modifier = unified_islam
		}
	}

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

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

	#revolutionary_swedish_republic
	text = {
		localisation_key = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_LAWSPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = SUPREME_VIZIER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}
	text = {
		localisation_key = SUPREME_VIZIER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
			tag = TUR
		}
	}

	#revolutionary_german_republic
	text = {
		localisation_key = CHAIRMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = CHAIRMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			is_revolutionary_republic_trigger = yes
		}
	}
	text = {
		localisation_key = CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			is_revolutionary_republic_trigger = yes
		}
	}

	#gov_polish_republic
	text = {
		localisation_key = MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = SERENE_MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = polish
			government = republic
		}
	}
	text = {
		localisation_key = MOST_SERNE_MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = polish
			government = republic
		}
	}

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

	#gov_prussian_republic
	text = {
		localisation_key = FIELD_MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = prussian_republic_reform
		}
	}
	text = {
		localisation_key = FIELD_MARSHAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = prussian_republic_reform
		}
	}

	#gov_admiralty
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = LORD_HIGH_ADMIRAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = admiralty_reform
		}
	}
	text = {
		localisation_key = SUPREME_ADMIRAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = admiralty_reform
		}
	}

	#gov_english_commonwealth
	text = {
		localisation_key = LADY_PROTECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = protectorate_parliament_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = protectorate_parliament_reform
		}
	}

	#savonarola_unique
	text = {
		localisation_key = SISTER_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_ruler_flag = savonarola_flag
		}
	}
	text = {
		localisation_key = SISTER_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_ruler_flag = savonarola_flag
		}
	}


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

	#greek_pirate_government
	text = {
		localisation_key = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = yes
			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 = ARCHPIRATE_PR_CAP
		trigger = {
			is_female = yes
			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 = LADY_PR_CAP
		trigger = {
			is_female = yes
			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 = CAPTAIN_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CAPTAIN_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = ADMIRAL_fem_PR_CAP
		trigger = {
			is_female = yes
			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_PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = pirate_king_reform
		}
	}
	text = {
		localisation_key = PIRATE_EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = pirate_king_reform
		}
	}

	#synthetic_nation
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = SYN
		}
	}
	text = {
		localisation_key = SYNTH_RULER_MAIN_CONDUIT_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = SYN
		}
	}

	#yuan_empire
	text = {
		localisation_key = JINONG_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				tag = YUA
				AND = {
					tag = OIR
					has_reform = celestial_empire
				}
			}
			government = monarchy
		}
	}

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

	#celestial_parliament
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = celestial_empire
			has_reform = parliamentary_reform
		}
	}

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

	#ottoman_vassals
	text = {
		localisation_key = HATUN_PR_CAP
		trigger = {
			is_female = yes
			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 = MARGRAVINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = VICEREINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			NOT = { religion = orthodox }
			NOT = { religion = coptic }
			is_march = yes
		}
	}

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



	#palatine_electorate
	text = {
		localisation_key = ELECTRESS_PALATINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = ELECTRESS_PALATINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			tag = PAL
		}
	}

	#palatine_monarchy
	text = {
		localisation_key = COUNTESS_PALATINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = QUEEN_PALATINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PAL
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PAL
		}
	}

	#herzegovina_monarchy
	text = {
		localisation_key = HERCEGI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}
	text = {
		localisation_key = PRINCESS_HERCEGI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government_rank = 3 }
			tag = HRZ
		}
	}

	#HRE

	#holy_roman_electors_monarchy
	text = {
		localisation_key = PRINCESS_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = QUEEN_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			is_elector = yes
			is_emperor = no
			NOT = { tag = HAB } #Archdukes
		}
	}

	#holy_roman_electors_bishoprics
	text = {
		localisation_key = BISHOP_ELECTOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = ARCHBISHOP_ELECTOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = MATRIARCH_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
			is_elector = yes
			is_emperor = no
		}
	}

	#holy_roman_electors_republic
	text = {
		localisation_key = CONSULESS_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_ELECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			is_elector = yes
			is_emperor = no
		}
	}

	#Shogunate

	#japanese_shogunate
	text = {
		localisation_key = SHOGUNESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = JAP
			government = monarchy
			NOT = { has_reform = shogunate }
		}
	}

	#islamic_syncretism_kingdoms
	text = {
		localisation_key = EMIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { religion_group = muslim }
			has_country_flag = sultan_titles_for_non_muslims
		}
	}

	#french_kingdom
	text = {
		localisation_key = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { has_reform = revolutionary_empire_reform }
			OR = {
				tag = FRA
				tag = AUV
			}
		}
	}

	#sharifs_of_mecca
	text = {
		localisation_key = SHARIFA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GRAND_SHARIFA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}
	text = {
		localisation_key = GREAT_SHARIFA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			OR = {
				tag = HED
				tag = MDA
				tag = MFL
			}
		}
	}

	#avar_nutsals
	text = {
		localisation_key = NUTSAL_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = AVR
			government = monarchy
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = AVR
			government = monarchy
		}
	}

	#georgian_monarchy
	text = {
		localisation_key = ATABEG_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = georgian
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = georgian
		}
	}

	#dais_of_najran
	text = {
		localisation_key = DAI_female_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			tag = NJR
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			tag = NJR
		}
	}

	#malian_monarchy
	text = {
		localisation_key = FAAMA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = MANSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = MAL
		}
	}
	text = {
		localisation_key = GREAT_MANSA_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = MAL
		}
	}

	#arabic_tribal
	text = {
		localisation_key = SHEIKHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = EMIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}
	text = {
		localisation_key = GREAT_EMIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			primary_culture = bedouin_arabic
			government = tribal
		}
	}

	#muslim_tribal
	text = {
		localisation_key = MALIKAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = muslim
			government = tribal
			NOT = { has_reform = steppe_horde }
		}
	}

	#kathiawar_tribal_monarchy
	text = {
		localisation_key = JAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GRAND_JAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}
	text = {
		localisation_key = GREAT_JAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = KAT
				primary_culture = sindhi
			}
		}
	}

	#sistan_monarchy
	text = {
		localisation_key = MALIKAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = SIS
		}
	}
	text = {
		localisation_key = SHAHANSHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = SIS
		}
	}

	#More Specific Monarchies
	#persian_monarchy
	text = {
		localisation_key = SHEIKHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = iranian
		}
	}
	text = {
		localisation_key = SHAHANSHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = iranian
		}
	}

	#somali_monarchy
	text = {
		localisation_key = GERAD_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = somali
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = somali
		}
	}

	#lithuanian_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = LIT
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = LIT
			government = monarchy
		}
	}

	#cristopher_of_bavaria_monarchy
	text = {
		localisation_key = ARCHDUCHESS_PR_CAP
		trigger = {
			is_female = yes
			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 = ARCHQUEEN_PR_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HUN
			government = monarchy
	#		has_ruler = "János"
			has_heir = "Ladislaus Postumus"
		}
	}

	#austrian_monarchy
	text = {
		localisation_key = ARCHDUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			tag = HAB
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			tag = HAB
			government = monarchy
		}
	}

	#turkish_monarchy
	text = {
		localisation_key = HATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = SULTAN_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = turkish
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = turkish
		}
	}

	#theodoro_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = FEO
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = FEO
		}
	}

	#croatian_monarchy
	text = {
		localisation_key = BAN_TITLE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = KRALJICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = croatian
		}
	}
	text = {
		localisation_key = CARICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = croatian
		}
	}

	#finnish_monarchy
	text = {
		localisation_key = GRAND_DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = finnish
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = finnish
		}
	}

	#grand_duchy_of_tuscany
	text = {
		localisation_key = GRAND_DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = TUS
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = TUS
		}
	}

	#grand_duchy_of_baden
	text = {
		localisation_key = GRAND_DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BAD
			has_idea = bad_grand_duchy
		}
	}

	#grand_duchy_of_luxembourg
	text = {
		localisation_key = GRAND_DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = LUX
			has_idea = lux_grand_duchy_of_luxembourg
		}
	}

	#serbian_feudal_monarchy
	text = {
		localisation_key = PRINCEZA_PR_CAP
		trigger = {
			is_female = yes
			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 = DESPOTISSA_PR_CAP
		trigger = {
			is_female = yes
			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 = CARICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				has_reform = feudalism_reform
				has_reform = autocracy_reform
			}
			primary_culture = serbian
			religion = orthodox
		}
	}

	#serbian_monarchy
	text = {
		localisation_key = VOJVODKINJA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = KRALJICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}
	text = {
		localisation_key = CARICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy #All later monarchies
			primary_culture = serbian
		}
	}

	#byzantine_monarchy
	text = {
		localisation_key = DESPOTISSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = AUTOKRATEIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}
	text = {
		localisation_key = BASILISSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BYZ
				tag = TRE
				tag = EPI
				tag = MOE
			}
		}
	}

	#greek_monarchy
	text = {
		localisation_key = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = greek
				primary_culture = pontic_greek
			}
		}
	}

	#arakanese_monarchy
	text = {
		localisation_key = EMIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ARK
		}
	}
	text = {
		localisation_key = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ARK
		}
	}

	#pangasinan_monarchy
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = PGS
			religion_group = eastern
		}
	}

	#albanian_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ALB
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ALB
		}
	}

	#qing_monarchy
	text = {
		localisation_key = GEGE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = JUNWANG_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = QNG
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = QNG
		}
	}

	#egyptian_monarchy
	text = {
		localisation_key = KHEDIVE_PR_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			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 = OLDERMAND_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = STORBONDE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}
	text = {
		localisation_key = LANDSBONDE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = peasants_republic
			primary_culture = scanian
		}
	}

	#pagan_egyptian_monarchy
	text = {
		localisation_key = NOMARCH_PR_CAP
		trigger = {
			is_female = yes
			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 = PHARAOH_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GREAT_PHARAOH_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = TYRANT_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = BASILISSA_PR_CAP
		trigger = {
			is_female = yes
			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 = HEGEMON_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = REGINA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}
	text = {
		localisation_key = IMPERATRIX_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				AND = {
					primary_culture = umbrian
					religion = animism
				}
				primary_culture = roman
			}
		}
	}

	#jurchen_monarchy
	text = {
		localisation_key = GEGE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}
	text = {
		localisation_key = GREAT_KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			primary_culture = manchu
		}
	}

	#romanian_monarchy
	text = {
		localisation_key = VOJVODKINJA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = KRALJICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = romanian
		}
	}
	text = {
		localisation_key = CARICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = romanian
		}
	}

	#hyderabad_state_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = NIZAM_BEGUM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = DEC
		}
	}
	text = {
		localisation_key = PADISHAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = DEC
		}
	}

	#muslim_indian_monarchy
	text = {
		localisation_key = NAWAB_BEGUM_PR_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			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 = PADISHAH_PR_CAP
		trigger = {
			is_female = yes
			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 = RANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BHA
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BHA
		}
	}

	#hindu_rajput_monarchy
	text = {
		localisation_key = RANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rajput
			religion = hinduism
		}
	}

	#maratha_peshwas
	text = {
		localisation_key = RANI_PR_CAP
		trigger = {
			is_female = yes
			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 = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			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 = PESHWA_PR_CAP
		trigger = {
			is_female = yes
			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 = RANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = marathi
			religion = hinduism
		}
	}

	#kaffa_monarchy
	text = {
		localisation_key = TATKISHO_FEM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = TATO_FEM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = KAF
		}
	}
	text = {
		localisation_key = ATIO_FEM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = KAF
		}
	}

	#ethiopian_monarchies
	text = {
		localisation_key = LE_ELT_PR_CAP
		trigger = {
			is_female = yes
			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 = NIGIST_PR_CAP
		trigger = {
			is_female = yes
			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 = NIGISTE_NIGIST_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion_group = christian
			OR = {
				primary_culture = amhara
				primary_culture = sidamo
				primary_culture = tigray
			}
		}
	}

	#nkore_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = MUGO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = NKO
		}
	}
	text = {
		localisation_key = GREAT_MUGO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = NKO
		}
	}

	#bunyoro_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = MUGO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BNY
		}
	}
	text = {
		localisation_key = GREAT_MUGO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BNY
		}
	}

	#lunda_monarchy
	text = {
		localisation_key = BALOPWE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = MULOPWE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}
	text = {
		localisation_key = GREAT_MULOPWE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				primary_culture = lunda
				primary_culture = luba
			}
		}
	}

	#mutapa_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = MWENEMUTAPA_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ZIM
		}
	}
	text = {
		localisation_key = GREAT_MWENEMUTAPA_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ZIM
		}
	}

	#torwa_monarchy
	text = {
		localisation_key = MAMBO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GRAND_MAMBO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = RZW
		}
	}
	text = {
		localisation_key = GREAT_MAMBO_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = RZW
		}
	}

	#rwanda_burundi_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = UMUGABEKAZI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = rwandan
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = rwandan
		}
	}

	#ganda_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = NNABAGEREKA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = ganda
		}
	}
	text = {
		localisation_key = GREAT_NNABAGEREKA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = ganda
		}
	}

	#antemoro_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = ANT
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = ANT
		}
	}

	#betsimisaraka_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			tag = BTS
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			tag = BTS
		}
	}

	#filipino_rajanate
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = RANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}
	text = {
		localisation_key = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				tag = BTU
				tag = MNA
				tag = CEB
			}
		}
	}

	#shan_monarchy
	text = {
		localisation_key = SAOPHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = SAOPHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = shan
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = shan
		}
	}

	#burman_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = burman
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = burman
		}
	}

	#Less Specific Monarchies

	#barangay_polity
	text = {
		localisation_key = DATU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}
	text = {
		localisation_key = LAKAN_PR_CAP
		trigger = {
			is_female = yes
			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_LAKAN_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = republic
			}
			NOT = { tag = SUL }
			NOT = { tag = MGD }
			primary_culture = filipino
		}
	}

	#south_slavic_monarchy
	text = {
		localisation_key = VOJVODKINJA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = KRALJICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}
	text = {
		localisation_key = CARICA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = south_slavic
			NOT = { tag = CLI }
		}
	}

	#irish_peerage_monarchy
	text = {
		localisation_key = COUNTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
			OR = {
				tag = DMS
				tag = ORD
				tag = KID
				tag = ULS
			}
		}
	}

	#irish_clan_monarchy
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = HIGH_QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			primary_culture = irish
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			primary_culture = irish
		}
	}

	#hebridean_monarchy
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			primary_culture = highland_scottish
			government = monarchy
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			primary_culture = highland_scottish
			government = monarchy
		}
	}

	#muscovite_monarchy
	text = {
		localisation_key = GREAT_KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}
	text = {
		localisation_key = TSARITSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
			tag = MOS
		}
	}

	#russian_monarchy
	text = {
		localisation_key = KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}
	text = {
		localisation_key = TSARITSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = principality
				has_reform = tsardom
			}
		}
	}

	#russian_feudal_monarchy
	text = {
		localisation_key = KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = GREAT_KNIAGINIA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			OR = {
				culture_group = east_slavic
				tag = PRM
			}
		}
	}

	#inti_monarchy
	text = {
		localisation_key = KURAKA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = APU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = inti
		}
	}
	text = {
		localisation_key = SAPA_INKA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = inti
		}
	}

	#mayan_monarchy
	text = {
		localisation_key = NACOM_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = HALACH_UINIK_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}
	text = {
		localisation_key = K_UHUL_AJAW_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
			}
			religion = mesoamerican_religion
		}
	}

	#nahuatl_monarchy
	text = {
		localisation_key = CIHUATLAHTOANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}
	text = {
		localisation_key = CIHUATLAHTOANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				government = monarchy
				government = tribal
				has_reform = tribal_democracy_legacy
			}
			religion = nahuatl
		}
	}

	#chinese_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			culture_group = east_asian #Chinese
		}
	}

	#hindu_monarchy
	text = {
		localisation_key = RANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = MAHARANI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			religion = hinduism
		}
	}
	text = {
		localisation_key = CHHATRAPATI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			religion = hinduism
		}
	}

	#buddhist_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = monarchy
			NOT = { government = tribal }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}

	#muslim_monarchy
	text = {
		localisation_key = EMIRA_PR_CAP
		trigger = {
			is_female = yes
			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 = SULTANA_PR_CAP
		trigger = {
			is_female = yes
			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 = GREAT_SULTANA_PR_CAP
		trigger = {
			is_female = yes
			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 = BURGMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = free_city
			culture_group = germanic
		}
	}

	#gov_free_city
	text = {
		localisation_key = MAYORESS_PR_CAP
		trigger = {
			is_female = yes
			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 = VICEREINE_PR_CAP
		trigger = {
			is_female = yes
			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 = DIRECTORESS_PR_CAP
		trigger = {
			is_female = yes
			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 = ATAMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = HETMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			has_reform = cossacks_reform
		}
	}
	text = {
		localisation_key = GREAT_HETMAN_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			has_reform = cossacks_reform
		}
	}

	#ragusan_republic
	text = {
		localisation_key = RECTORA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GRAND_RECTORA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			tag = RAG
		}
	}
	text = {
		localisation_key = GREAT_RECTORA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			tag = RAG
		}
	}

	#dutch_republic
	text = {
		localisation_key = GRAND_PENSIONARY_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = STADTHOLDERESS_PR_CAP
		trigger = {
			is_female = yes
			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_STADTHOLDERESS_PR_CAP
		trigger = {
			is_female = yes
			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 = POSADNITSA_PR_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_PR_CAP
		trigger = {
			is_female = yes
			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_POSADNITSA_PR_CAP
		trigger = {
			is_female = yes
			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 = KEFALIJA_PR_CAP
		trigger = {
			is_female = yes
			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 = DUHZD_PR_CAP
		trigger = {
			is_female = yes
			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 = PRINCEZA_PR_CAP
		trigger = {
			is_female = yes
			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 = GONFALONIERE_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			OR = {
				tag = TUS
				tag = LAN
			}
		}
	}

	#ambrosian_republic
	text = {
		localisation_key = CAPTAIN_DEFENDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = ambrosian_republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = ambrosian_republic
		}
	}

	#german_republic
	text = {
		localisation_key = SYNDIC_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = GRAND_SYNDIC_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = germanic
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = germanic
		}
	}

	#italian_republic
	text = {
		localisation_key = DOGARESSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = SERENE_DOGARESSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			culture_group = latin
		}
	}
	text = {
		localisation_key = GREAT_DOGARESSA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			culture_group = latin
		}
	}

	#hindu_republic
	text = {
		localisation_key = SADR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PESHWA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion = hinduism
		}
	}
	text = {
		localisation_key = PRATINIDHI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion = hinduism
		}
	}

	#buddhist_noble_republic
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = noble_elite_reform
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
		}
	}
	#muslim_republic
	text = {
		localisation_key = EMIRA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = VIZIER_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
			religion_group = muslim
		}
	}
	text = {
		localisation_key = GRANDVIZIER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
			religion_group = muslim
		}
	}

	#march_eastern_christian_monarchy
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			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_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GRAND_CRUSADER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = JINONG_PR_CAP
		trigger = {
			is_female = yes
			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 = KHATUN_PR_CAP
		trigger = {
			is_female = yes
			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 = GREAT_KHATUN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = steppe_horde
			OR = { 
				culture_group = altaic 
				culture_group = tartar 
				primary_culture = altaic_new 
			}
		}
	}

	#gov_native_council
	text = {
		localisation_key = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			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 = HIGH_CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			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 = PARAMOUNT_CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			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 = GOVERNESS_PR_CAP
		trigger = {
			is_female = yes
			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 = SPEAKER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = CHANCELOR_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			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 = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			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 = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			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 = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}
	text = {
		localisation_key = GREAT_PRINCESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = noble_elite_reform
				has_reform = noble_republic
			}
		}
	}

	#gov_republican_dictatorship
	text = {
		localisation_key = PROTECTOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = LADY_PROTECTOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = presidential_despot_reform
		}
	}
	text = {
		localisation_key = PRESIDENT_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = presidential_despot_reform
		}
	}

	#gov_bureaucratic_despotism
	text = {
		localisation_key = COUNCILOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = GRAND_COUNCILOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = bureaucratic_despotism
		}
	}
	text = {
		localisation_key = HIGH_COUNCILOR_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = bureaucratic_despotism
		}
	}

	#gov_papal_government
	text = {
		localisation_key = POPETTE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = papacy_reform
		}
	}
	text = {
		localisation_key = POPETTE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = papacy_reform
		}
	}

	#gov_daimyo
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
				NOT = { government_rank = 2 }
			has_reform = daimyo
		}
	}

	#gov_indep_daimyo
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = indep_daimyo
		}
	}
	text = {
		localisation_key = LADY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = indep_daimyo
		}
	}

	#gov_shogunate
	text = {
		localisation_key = SHOGUNESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = shogunate
		}
	}

	#gov_tribal_kingdom
	text = {
		localisation_key = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_kingdom
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_kingdom
		}
	}

	#gov_tribal
	text = {
		localisation_key = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = HIGH_CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}
	text = {
		localisation_key = PARAMOUNT_CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = tribal_despotism
				has_reform = tribal_federation
			}
		}
	}

	#gov_tribal_democracy
	text = {
		localisation_key = ELDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = tribal_democracy_legacy
		}
	}
	text = {
		localisation_key = PARAMOUNT_ELDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = tribal_democracy_legacy
		}
	}

	#gov_constitutional_republic
	text = {
		localisation_key = CHANCELOR_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = PRESIDENT_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = COUNTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
			is_part_of_hre = yes
			NOT = { total_development = 50 }
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_PR_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_PR_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = yes
			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 = MONSHU_PR_CAP
		trigger = {
			is_female = yes
			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 = HIGH_MONSHUESS_PR_CAP
		trigger = {
			is_female = yes
			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 = SHINRAN_PR_CAP
		trigger = {
			is_female = yes
			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 = FIRST_RANGER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_PR_CAP
		trigger = {
			is_female = yes
			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 = KNIGHT_QUEEN_PR_CAP
		trigger = {
			is_female = yes
			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
				}
			}
		}
	}

	#teutonic_monastic_order
	text = {
		localisation_key = HOCHMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = MAGISTER_HOCHMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = TEU
		}
	}
	text = {
		localisation_key = DEUTSCHMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = TEU
		}
	}

	#Theocracies - Specified Religion / Culture
	#livonian_monastic_order
	text = {
		localisation_key = LANDMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_order_reform
			tag = LIV
		}
	}
	text = {
		localisation_key = LANDMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_order_reform
			tag = LIV
		}
	}

	#germanic_monastic_order
	text = {
		localisation_key = GROSSMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = GROSSMEISTER_fem_PR_CAP
		trigger = {
			is_female = yes
			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 = TRAPPISTINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = ARCH_TRAPPISTINE_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}
	text = {
		localisation_key = BREWMISTRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monastic_breweries_reform
			religion = catholic
		}
	}

	#jewish_theocracy
	text = {
		localisation_key = RABBI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = GRAND_RABBI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = jewish
			government = theocracy
		}
	}
	text = {
		localisation_key = KOHEN_GADOL_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = jewish
			government = theocracy
		}
	}

	#zoroastrian_theocracy
	text = {
		localisation_key = HERBAD_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOBEDYAR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = zoroastrian
			government = theocracy
		}
	}
	text = {
		localisation_key = MOABADAN_MOABAD_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = zoroastrian
			government = theocracy
		}
	}

	#sikh_theocracy
	text = {
		localisation_key = JATHEDAR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = MISLDAR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sikhism
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_MISLDAR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sikhism
			government = theocracy
		}
	}

	#hindu_theocracy
	text = {
		localisation_key = PANDIT_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = PANDITRAO_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = hinduism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_GURU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = hinduism
			government = theocracy
		}
	}

	#shinto_theocracy
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shinto
			government = theocracy
		}
	}
	text = {
		localisation_key = O_KANNUSHI_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shinto
			government = theocracy
		}
	}

	#buddhist_theocracy
	text = {
		localisation_key = LAMA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = TULKU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = GREAT_TULKU_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = buddhism #Theravada
				religion = vajrayana
				religion = mahayana
			}
			government = theocracy
		}
	}

	#confucian_theocracy
	text = {
		localisation_key = ELDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_ELDER_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = confucianism
			government = theocracy
		}
	}
	text = {
		localisation_key = DAUGHTER_OF_HEAVEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = confucianism
			government = theocracy
		}
	}

	#ibadi_theocracy
	text = {
		localisation_key = IMAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_PR_CAPAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = ibadi
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#yemenite_theocracy
	text = {
		localisation_key = IMAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = GREAT_PR_CAPAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			primary_culture = yemeni_culture
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
		}
	}

	#shiite_theocracy
	text = {
		localisation_key = SHEIKHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = AYATOLLAH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}
	text = {
		localisation_key = IMAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = shiite
			OR = {
				government = theocracy
				has_reform = feudal_theocracy
			}
			NOT = { primary_culture = yemeni_culture }
		}
	}

	#uyghur_theocracy
	text = {
		localisation_key = SHEIKHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = KHOJA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}
	text = {
		localisation_key = GREAT_KHOJA_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			government = theocracy
			OR = {
				primary_culture = uyghur
				has_country_flag = end_of_khojas
			}
		}
	}

	#sunni_theocracy
	text = {
		localisation_key = SHEIKHA_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = IMAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}
	text = {
		localisation_key = HIGH_PR_CAPAM_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = sunni
			OR = {
				has_reform = feudal_theocracy
				government = theocracy
			}
		}
	}

	#orthodox_theocracy
	text = {
		localisation_key = BISHOP_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				religion = orthodox
				religion = coptic
			}
			government = theocracy
		}
	}

	#inti_theocracy
	text = {
		localisation_key = MICHOQ_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = inti
			government = theocracy
		}
	}
	text = {
		localisation_key = SARPAY_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = inti
			government = theocracy
		}
	}

	#pagan_theocracy
	text = {
		localisation_key = PRIESTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = HIGH_PRIESTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion_group = pagan
			government = theocracy
		}
	}
	text = {
		localisation_key = PARAMOUNT_PRIESTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion_group = pagan
			government = theocracy
		}
	}

	#gov_religious_order
	text = {
		localisation_key = GRAND_MISTRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}
	text = {
		localisation_key = COMMANDER_EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			OR = {
				has_reform = monastic_order_reform
				AND = {
					government = theocracy
					tag = KOJ
				}
			}
		}
	}

	#sisters_crusader_state
	text = {
		localisation_key = ABBESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = MOTHER_SUPERIOR_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}
	text = {
		localisation_key = GRAND_MISTRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			religion = catholic
			has_reform = holy_state_reform
			has_country_modifier = sisters_takeover
		}
	}

	#default_monarchy
	text = {
		localisation_key = DUCHESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			has_reform = monarchy_mechanic
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			has_reform = monarchy_mechanic
		}
	}

	#default_republic
	text = {
		localisation_key = CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = republic
		}
	}
	text = {
		localisation_key = GRAND_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = republic
		}
	}
	text = {
		localisation_key = GREAT_CONSULESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = republic
		}
	}

	#default_theocracy
	text = {
		localisation_key = BISHOP_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = theocracy
		}
	}
	text = {
		localisation_key = ARCHBISHOP_fem_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = theocracy
		}
	}
	text = {
		localisation_key = MATRIARCH_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = theocracy
		}
	}

	#default_tribal
	text = {
		localisation_key = CHIEFTESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 1 
			NOT = { government_rank = 2 }
			government = tribal
		}
	}
	text = {
		localisation_key = QUEEN_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 2 
			NOT = { government_rank = 3 }
			government = tribal
		}
	}
	text = {
		localisation_key = EMPRESS_PR_CAP
		trigger = {
			is_female = yes
			government_rank = 3 
			government = tribal
		}
	}
}