exarch_monarchy = { #Titles for Exarchates
	#Apparently there is such a thing as kingdom and empire vassals - You just need to release them from your own lands!
	rank = {
		1 = EXARCHATE
		2 = EXARCHATE
		3 = EXARCHATE
	}

	ruler_male = {
		1 = EXARCH
		2 = EXARCH
		3 = EXARCH
	}

	ruler_female = {
		1 = EXARCHISSA
		2 = EXARCHISSA
		3 = EXARCHISSA
	}
	
	consort_male = {
		1 = EXARCH
		2 = EXARCH
		3 = EXARCH
	}

	consort_female = {
		1 = EXARCHISSA
		2 = EXARCHISSA
		3 = EXARCHISSA
	}

	trigger = {
		government = monarchy
		is_subject_of = BYZ
		is_subject_of_type = byz_exarch
	}
}

byz_subject_catepanate = { #Titles for pronoiar monarchies.
	#Apparently there is such a thing as kingdom and empire vassals - You just need to release them from your own lands!
	rank = {
		1 = CATEPANATE
		2 = CATEPANATE
		3 = CATEPANATE
	}

	ruler_male = {
		1 = KATEPANO
		2 = KATEPANO
		3 = KATEPANO
	}

	ruler_female = {
		1 = KATEPANISSA
		2 = KATEPANISSA
		3 = KATEPANISSA
	}
	
	consort_male = {
		1 = KATEPANO
		2 = KATEPANO
		3 = KATEPANO
	}

	consort_female = {
		1 = KATEPANISSA
		2 = KATEPANISSA
		3 = KATEPANISSA
	}

	trigger = {
		government = monarchy	
		is_subject_of_type_with_overlord = { who = BYZ type = pronoia_subject_type }
	}
}

byz_subject_curopalate = { #Titles for vassal monarchies. Kouropalate wes a title granted to the Armenian lords that swore fealty to Byzantium. You could otherwise do Despots, but yeah.
	#Apparently there is such a thing as kingdom and empire vassals - You just need to release them from your own lands!
	rank = {
		1 = CUROPALATE
		2 = CUROPALATE
		3 = CUROPALATE
	}

	ruler_male = {
		1 = KOUROPALATES
		2 = KOUROPALATES
		3 = KOUROPALATES
	}

	ruler_female = {
		1 = KOUROPALATISSA
		2 = KOUROPALATISSA
		3 = KOUROPALATISSA
	}
	
	consort_male = {
		1 = KOUROPALATES
		2 = KOUROPALATES
		3 = KOUROPALATES
	}

	consort_female = {
		1 = KOUROPALATISSA
		2 = KOUROPALATISSA
		3 = KOUROPALATISSA
	}

	trigger = {
		government = monarchy	
		is_subject_of_type_with_overlord = { who = BYZ type = hereditary_pronoia_subject_type }
	}
}

byz_subject_republic = { #Titles For vassal republics. Historically was a thing for Italian city-states in the 9th and 10th century.
	#Apparently there is such a thing as kingdom and empire vassals - You just need to release them from your own lands!
	rank = {
		1 = CONSULATE
		2 = CONSULATE
		3 = CONSULATE
	}

	ruler_male = {
		1 = HYPATOS
		2 = HYPATOS
		3 = HYPATOS
	}

	ruler_female = {
		1 = HYPATISSA
		2 = HYPATISSA
		3 = HYPATISSA
	}
	#Can republics even have consorts??
	consort_male = {
		1 = HYPATOS
		2 = HYPATOS
		3 = HYPATOS
	}

	consort_female = {
		1 = HYPATISSA
		2 = HYPATISSA
		3 = HYPATISSA
	}

	trigger = {
		government = republic
		is_subject_of = BYZ
		NOT = { is_subject_of_type_with_overlord = { who = BYZ type = hereditary_pronoia_subject_type } }
		NOT = { is_subject_of_type = byz_exarch }
		is_lesser_in_union = no #To avoid PU's.
		is_colonial_nation = no #To avoid colonial nations.
	}
}

patriarch_mecca_medina_theocracy = { #So that it actually becomes a Patriarchate.
	rank = {
		1 = PATRIARCHATE
		2 = PATRIARCHATE
		3 = PATRIARCHATE
	}

	ruler_male = {
		1 = PATRIARCH
		2 = PATRIARCH
		3 = PATRIARCH
	}

	ruler_female = {
		1 = MATRIARCH
		2 = MATRIARCH
		3 = MATRIARCH
	}

	trigger = {
		religion = orthodox
		government = theocracy
		tag = MKB
	}
}

byz_byzantine_monarchy = { #The main yum.
	rank = {
		1 = DESPOTATE
		2 = KINGDOM
		3 = EMPIRE
	}

	ruler_male = {
		1 = DESPOT
		2 = AUTOKRATOR
		3 = BASILEUSAUTOKRATOR
	}

	ruler_female = {
		1 = DESPOINA
		2 = AUTOKRATEIRA
		3 = BASILISSAAUTOKRATEIRA #Not sure empresses ever used this title, but it is there to provide symmetry to the male version.
	}
	
	consort_male = {
		1 = DESPOT
		2 = AUTOKRATOR
		3 = BASILEUS
	}

	consort_female = {
		1 = DESPOINA
		2 = AUTOKRATEIRA 
		3 = BASILISSA
	} #The female consort could also be known as Kyria or Despoina, i.e lady of the house, but I'll leave it like this because some empresses were high up there.

	heir_male = {
		1 = HEIR
		2 = DESPOT #Technically this was also used by the Empire, but I figure Symbasileus is more prestigous
		3 = SYMBASILEUS
	}

	heir_female = {
		1 = HEIR
		2 = DESPOINA #Technically this was also used by the Empire, but I figure Symbasileus is more prestigous
		3 = SYMBASILISSA
	}
	
	trigger = {
		government = monarchy
		OR = {
			tag = BYZ
			tag = TRE
			tag = EPI
			tag = MOE
			tag = CAP #Adjusted because I saw they did not adjust this in BT, apparently.
		}
	}
}
