####################################
# Branch families in the Muromachi #
####################################

vassal = { 
	first = HKW
	second = MIY #A branch of the Hosokawa clan
	start_date = 1506.1.1 #Initially very cohesive
	end_date = 1548.1.1 #Succession war exposes deep rifts in the Hosokawa
	}

######################
# Ashikaga Retainers #
######################

alliance = {
	first = YMN
	second = AKG
	start_date = 1392.4.1
	end_date = 1468.2.1 #The Shogun declares Yamana Sozen in rebellion
}
alliance = { #Note that Hosokawa and Yamana are rivals (not allied)
	first = HKW
	second = AKG
	start_date = 1336.1.1
	end_date = 1477.11.1
}

############
# Onin War #
############

alliance = {
	first = YMN
	second = OUC
	start_date = 1467.9.20
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = AKM
	start_date = 1460.1.1
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = IGW #
	start_date = 1467.5.1
	end_date = 1474.4.19
}
alliance = {
	first = YMN
	second = TKI
	start_date = 1467.5.1 #The Onin War
	end_date = 1487.1.1 #Toki Nariyori invades Omi
}
alliance = {
	first = HKW
	second = HTK
	start_date = 1467.5.1
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = ASK
	start_date = 1471.1.1 #Asakura Takakage sides with the Hosokawa after the latter helps him become Echizen Shugo
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = SHN
	start_date = 1469.8.1
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = OTM
	start_date = 1467.5.1
	end_date = 1474.4.19
}
alliance = {
	first = HKW
	second = SMZ #Shimazu Tachihisa sided with the Hosokawa, but never sent out an army
	start_date = 1469.8.1
	end_date = 1474.4.19
}

##################
# Puppet Shoguns #
##################

vassal = {
	first = HKW
	second = AKG
	start_date = 1494.1.1
	end_date = 1508.1.1
}
vassal = {
	first = HKW
	second = AKG
	start_date = 1522.1.1
	end_date = 1546.1.1
}

##########
# Daimyo #
##########
alliance = {
	first = AKG
	second = IGW
	start_date = 1433.1.1 #Ashikaga Yoshinori supported Imagawa Noritada become the head of his clan, and he in return supported the shogun militarily quite well
	end_date = 1461.1.1 #Noritada dies
}

alliance = {
	first = AKG
	second = OUC
	start_date = 1441.1.1 #More of a balancing purpose against the Yamana; Ouchi Norihiro did fight the Shoni under the shogun's order
	end_date = 1465.1.1 #Norihiro dies
}

vassal = { 
	first = HKW
	second = HTK #Installed by Hosokawa
	start_date = 1499.1.1
	end_date = 1506.1.1
	}

alliance = {
	first = MIY
	second = HTK
	start_date = 1551.1.1
	end_date = 1553.1.1
}

vassal = {
	first = OUC
	second = MRI
	start_date = 1511.1.1
	end_date = 1551.9.30 #Ouchi Yoshitaka commits seppuku
}

alliance = {
	first = OUC
	second = MRI
	start_date = 1511.1.1
	end_date = 1554.6.1 #Mori Motonari openly opposes Sue Harukata
}

alliance = { 
	first = HKW
	second = MIY
	start_date = 1506.1.1
	end_date = 1518.1.1
	}

#vassal = { 
#	first = ICJ
#	second = CSK
#	start_date = 1500.1.1
#	end_date = 1560.1.1 
#	}

#vassal = {
#	first = IGW
#	second = HJO
#	start_date = 1496.1.1
#	end_date = 1509.1.1 #Soun Hojo subjugates the Imagawa
#	}

alliance = {
	first = HJO
	second = IGW
	start_date = 1512.1.1
	end_date = 1536.3.18
	}

alliance = {
	first = HJO
	second = IGW
	start_date = 1554.1.1
	end_date = 1562.1.11
	}

alliance = {
	first = IGW
	second = TKD
	start_date = 1554.1.1
	end_date = 1562.1.11
}


alliance = { 
	first = HJO
	second = TKD
	start_date = 1554.1.1
	end_date = 1562.1.11 #The Takeda invade the Imagawa
	}

#vassal = {
#	first = HJO
#	second = STM
#	start_date = 1539.1.1 #The Satomi submit to Hojo Ujitsina
#	end_date = 1564.1.9 #The Hojo defeat the Satomi again
#}

alliance = {
	first = HJO
	second = USG
	start_date = 1569.1.1
	end_date = 1572.1.1
	}


alliance = { 
	first = HJO
	second = TKD
	start_date = 1572.1.1
	end_date = 1579.1.1 #The Takeda ally with Kagekatsu, prompting the Hojo to break off relations with them
	}

royal_marriage = {
	first = IGW
	second = TKD
	start_date = 1537.1.1
	end_date = 1550.7.15
}

#royal_marriage = {
#	first = HJO
#	second = TKD
#	start_date = 1559.1.1
#	end_date = 1568.11.24
#}

royal_marriage = {
	first = IGW
	second = HJO
	start_date = 1560.6.13
	end_date = 1562.1.11
}

alliance = {
	first = USG
	second = TKD
	start_date = 1579.1.1
	end_date = 1582.3.11
	}

alliance = {
	first = ODA
	second = TGW
	start_date = 1562.1.11
	end_date = 1582.6.2
	}

alliance = {
	first = ODA
	second = MIY
	start_date = 1581.4.1
	end_date = 1582.6.2
	}

royal_marriage = {
	first = MGM
	second = DTE
	start_date = 1515.5.1
	end_date = 1520.2.20
}

union = {
	first = DTE
	second = MGM
	start_date = 1520.2.20
	end_date = 1548.6.1
}

royal_marriage = {
	first = DTE
	second = MGM
	start_date = 1564.8.1
	end_date = 1584.1.1
}

####################
# Unification Wars #
####################

vassal = { 
	first = TYT
	second = ODA
	start_date = 1583.6.13
	end_date = 1584.4.17
	}

alliance = {
	first = ODA
	second = TGW
	start_date = 1584.4.17
	end_date = 1585.1.1
	}

vassal = { 
	first = TYT
	second = MRI
	start_date = 1584.1.1
	end_date = 1600.10.21
	}
alliance = { 
	first = TYT
	second = MRI
	start_date = 1584.1.1
	end_date = 1600.10.21
	}
alliance = {
	first = TYT
	second = OTM
	start_date = 1586.9.1 #Otomo calls for help
	end_date = 1587.1.21 #Funai castle falls
}
alliance = {
	first = TYT
	second = OTM
	start_date = 1588.1.1
	end_date = 1593.5.1
}
vassal = {
	first = TYT
	second = OTM
	start_date = 1588.1.1 #Toyotomi restores the Otomo lands as thanks and allows them to rule them in trust for him
	end_date = 1593.5.1 #Otomo Yoshimune gets deprived of his land
}
alliance = {
	first = TYT
	second = SMZ
	start_date = 1588.1.1 
	end_date = 1600.10.21 #Battle of Sekigahara
}
vassal = {
	first = TYT
	second = SMZ
	start_date = 1588.1.1
	end_date = 1600.10.21
}
alliance = {
	first = TYT
	second = DTE
	start_date = 1588.1.1 
	end_date = 1600.10.21 #Battle of Sekigahara
}
vassal = {
	first = TYT
	second = DTE
	start_date = 1588.1.1 
	end_date = 1600.10.21 #Battle of Sekigahara
}
#alliance = { 
#	first = MRI
#	second = CSK
#	start_date = 1585.8.6 #Chosokabe defeated by Hideyoshi
#	end_date = 1600.10.21 #Battle of Sekigahara
#	}

######################
# Tokugawa Shogunate #
######################

##########################################
# Fudai (loyal vassals granted autonomy) #
##########################################

vassal = {
	first = JTG
	second = DTE #Date Masamune is granted the fief of Sendai for his aid
	start_date = 1600.10.21 #Battle of Sekigahara
	end_date = 1636.1.1 #Date Masamune dies
}

vassal = {
	first = JTG
	second = SMZ 
	start_date = 1600.10.21 #Tokugawa allowed the Shimazu to keep their lands
	end_date = 1619.1.1 #Yoshihiro dies
}

vassal = {
	first = SMZ
	second = RYU
	start_date = 1609.1.1 #Tokugawa allowed the Shimazu to annex Ryuku after their losses at Sekigahara
	end_date = 1619.1.1
}

vassal = {
	first = JTG 
	second = RYU
	start_date = 1619.1.1
	end_date = 1879.1.1
}
