# -*- ck2.history.titles -*-

711.1.1 = {
	de_jure_liege = k_aquitaine
}
801.1.1 = {
	liege = k_aquitaine
	holder = 70140 # Bera, Count of Barcelona
}
820.1.1 = {
	holder = 200141 # Rampon, Count of Barcelona
}
826.1.1 = {
	holder = 163063 # Bernard I Gellones
}
832.1.1 = {
	holder = 167791 # Berengar Unruochinger
}
835.1.1 = {
	holder = 163063 # Bernard I Gellones
}
844.5.1 = {
	holder = 73785 # Sunifred de Barcelona
}
848.1.1 = {
	holder = 73784 # Guillaume I Gellones
}
850.1.1 = {
	holder = 200142 # Aleran Geroldonen
}
851.1.1 = {
	holder = 200144 # Isembard, Count of Barcelona
}
852.1.1 = {
	holder = 200145 # Odelric von Argengau
}
857.1.1 = {
	holder = 200148 # Hunifred Unruochinger
}
865.1.1 = {
	holder = 127019 # Bernard II Gellones
}
878.1.1 = {
	holder = 70150 # Guifr I de Barcelona
}
884.12.12 = {
	liege = k_france
}
# Beginning under Guifre, the counties united under Barcelona started being passed directly as inheritance rather than as appointments by the French King
888.1.13 = {
	liege = 0
	set_tribute_suzerain = {
		who = k_france
		type = permanent
	}	
	law = agnatic_succession
	law = succ_primogeniture
}
898.8.11 = {
	holder = 70152 # Guifr II de Barcelona
}
911.1.1 = {
	holder = 110536 # Sunyer de Barcelona
}
954.10.15 = {
	holder = 110538 # Borrell II de Barcelona
}
# In 985, Barcelona was sacked by Almanzor and the nominal overlord of Barcelona did nothing to defend the city. Later in 988 the Carolingians were replaced with the Capetians and there is plenty of evidence that the nominal relationship with France started lapsing more and more, to the point that de-facto independence can be argued
988.1.1 = {
	clear_tribute_suzerain = k_france
}
993.9.30 = {
	holder = 110540 # Ramon Borrell de Barcelona
}
1017.2.25 = {
	holder = 110530 # Berenguer Ramn I de Barcelona
}
1035.5.26 = {
	holder = 110520 # Ramon Berenguer I de Barcelona
}
1076.5.26 = {
	holder = 110522 # Ramon Berenguer II de Barcelona
}
1082.12.6 = {
	holder = 110525 # Berenguer Ramon II de Barcelona
}
1097.6.20 = {
	holder = 210508 # Ramon Berenguer III de Barcelona
}
1131.7.19 = {
	holder = 210506 # Ramon Berenguer IV de Barcelona
}
1137.8.11 = {
	liege = k_aragon
}
1162.8.6 = {
	holder = 210500 # Ramon Berenguer V de Barcelona (Alfons II de Barcelona)
}
1164.1.1 = {
	holder = 0
}
1258.1.1={ # Treaty of Corbeil
	de_jure_liege = k_aragon
}
