#Persia - Safavids (PER)

#-----------------------------------------------------------------------------------------------

#(1419-1580) Khiva and Shi'a Governors
event = {
	id = 254010
	trigger = {
		exists = KHI
		OR = {
			owned = { province = 1533 data = -1 } #Khiva
			owned = { province = 521 data = -1 }
			owned = { province = 522 data = -1 }
			owned = { province = 523 data = -1 }
			owned = { province = 524 data = -1 }
			owned = { province = 525 data = -1 }
		}
	}
	random = no
	country = PER
	name = "EVENTNAME254010" #Khiva and Shi'a Governors
	desc = "EVENTHIST254010"
	#-#When Persia conquered parts of Khwarizim, Shi'a governors were setup up in the various regions. The Shi'a governors offended the sensibilities of the Sunni steppe population. When the Khiva Khanate was founded, many of these centers rebelled and joined the newly formed state. Despite this, Persia would establish and maintain good relations with the khanate.

	date = { day = 3 month = january year = 1419 }
	offset = 30
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "OH_WELL"
		command = { type = cedeprovince which = KHI value = 520 } #Bouzatchi
		command = { type = cedeprovince which = KHI value = 521 } #Karabogaz
		command = { type = cedeprovince which = KHI value = 522 } #Khwarizm
		command = { type = cedeprovince which = KHI value = 523 } #Kara Kum
		command = { type = cedeprovince which = KHI value = 524 } #Turkmenistan
		command = { }
	}
}

#(1419-1820) The Safavid State
#Modified By Guinnessmonkey and the AGC: Persia & neighbours Team
#Merged with 80329 from Beta 1 - Korath
#Further modified by Garbon
event = {
	id = 3998
	trigger = {
		religion = shia
	}
	random = no
	country = PER
	name = "EVENTNAME3998" #The Safavid State
	desc = "EVENTHIST3998"
	#-#The Safavid movement was originally founded by Seyh Safiuddin in the thirteenth-century as a contemplative brand of Sufism, but it later evolved in a militant Shi'a Heresy ideology. Proponents of the movement were eventually able to take advantage of the disorganized political situation in what is today modern Iran, to form the country of Persia. This newly formed Persian nation, with its militant Shi'a followers, was ably to quickly conquer territory in the surrounding region.

	date = { day = 1 month = january year = 1419 }
	offset = 30
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME3998A" #Our faith is unwaverable
		command = { type = INF which = -1 value = 4000 }
		command = { type = CAV which = -1 value = 6000 }
		command = { type = remove_countryculture which = kurdish }
		command = { type = add_countryculture which = kurdish }
		command = { type = breakvassal which = TUR }
		command = { type = breakvassal which = AKK }
		command = { type = breakvassal which = QAR }
		command = { type = stability value = 6 }
		command = { type = domestic which = QUALITY value = 2 }
		command = { type = addcore which = 486 } #Nuyssaybin
		command = { type = addcore which = 487 } #Azerbaijan
		command = { type = addcore which = 508 } #Basrah
		command = { type = addcore which = 525 } #Elbruz
		command = { type = addcore which = 526 } #Meched
		command = { type = addcore which = 527 } #Kerman
		command = { type = addcore which = 528 } #Lut
		command = { type = addcore which = 529 } #Tabaristan
		command = { type = addcore which = 530 } #Tabriz
		command = { type = addcore which = 531 } #Hamadan
		command = { type = addcore which = 532 } #Awhaz
		command = { type = addcore which = 533 } #Isfahan
		command = { type = addcore which = 534 } #Fars
		command = { type = addcore which = 535 } #Hormouz
		command = { type = addcore which = 536 } #Mekran
		command = { type = addcore which = 537 } #Baluchistan
		command = { type = addcore which = 538 } #Kalat
		command = { type = addcore which = 1525 } #Qandahar
		command = { type = addcore which = 1526 } #Zahedan
		command = { type = addcore which = 1528 } #Kushka
		command = { type = addcore which = 1529 } #Birjand
		command = { type = addcore which = 1530 } #Khorasan
		command = { type = addcore which = 1531 } #Herat
	}
}

#(1485-1505 or 1488-1493) The Accession of the Safavids
event = {
	id = 254020 #triggered by QAR_266023 or AKK_103015
	random = no
	country = PER
	name = "EVENTNAME254020" #The Accession of the Safavids
	desc = "EVENTHIST254020"
	#-#Sultan Haidar made a splendid march into his capital of Tabriz. Safavid rule was off to an auspicious start.

	action_a = {
		name = "WONDERFUL"
		command = { type = sleepmonarch which = 0104503 } #Sultan Haidar
		command = { type = sleepmonarch which = 0104504 } #Sultan Ibrahim
		command = { type = sleepmonarch which = 0104505 } #Sultan Ali
		command = { type = wakemonarch which = 0104533 } #Sultan Haidar - alternate
		command = { }
	}
}

#(1494-1597) The Shi'a State of the Safavids
event = {
	id = 21817
	trigger = {
		monarch = 0104506 #Ismail I
		owned = { province = 487 data = -1 } #Azerbaijan
		control = { province = 487 data = -1 } #Azerbaijan
	}
	random = no
	country = PER
	name = "EVENTNAME21817" #The Shi'a State of the Safavids
	desc = "EVENTHIST21817"
	#-#The Safavid sect found itself vying for political power when supported by their militant turkish Shi'a followers. Although of persian ancestry, the Safavids had adopted a turkic dialect. During Ismail's rule, turkish nobles would have the most sway in court. Upon taking Tabriz, Ismail, with the support of his militant followers, proclaimed Shi'a the faith of the land. Religion was to prove a unifying point for the Safavid state.

	date = { day = 1 month = january year = 1494 }
	offset = 5
	deathdate = { day = 29 month = december year = 1597 }

	action_a = {
		name = "ACTIONNAME21817A" #It shall all be Shi'a!
		command = { type = religion which = shia }
		command = { type = missionaries value = 4 }
		command = { type = provincereligion which = 487 value = shia } #Azerbaijan
		command = { type = provincetax which = 487 value = 2 } #Azerbaijan
		command = { type = remove_countryculture which = turkish }
		command = { type = remove_countryculture which = persian }
		command = { type = remove_countryculture which = kurdish }
		command = { type = add_countryculture which = turkish }
		command = { type = add_countryculture which = persian }
		command = { type = add_countryculture which = kurdish }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = trigger which = 254021 } #PER: A new capital
	}
	action_b = {
		name = "ACTIONNAME21817B" #Strongly suggest conversion
		command = { type = religion which = shia }
		command = { type = stability value = -2 }
		command = { type = missionaries value = 2 }
		command = { type = remove_countryculture which = turkish }
		command = { type = remove_countryculture which = persian }
		command = { type = remove_countryculture which = kurdish }
		command = { type = add_countryculture which = turkish }
		command = { type = add_countryculture which = persian }
		command = { type = add_countryculture which = kurdish }
		command = { type = religiousrevolt which = -1 }
		command = { type = religiousrevolt which = -1 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = population which = -1 value = -50 }
		command = { type = population which = -1 value = -50 }
		command = { type = trigger which = 254021 } #PER: A new capital
	}
	action_c = {
		name = "ACTIONNAME21817C" #We are Sunnis!
		command = { type = religion which = sunni }
		command = { type = revoltrisk which = 120 value = 4 }
		command = { type = domestic which = centralization value = -4 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = removecore which = 1530 } #Khorasan
		command = { type = removecore which = 1531 } #Herat
		command = { type = removecore which = 526 } #Meched
		command = { type = removecore which = 1529 } #Birjand
		command = { type = removecore which = 535 } #Hormuz
		command = { type = removecore which = 525 } #Elbruz
		command = { type = removecore which = 527 } #Kerman
		command = { type = removecore which = 536 } #Mekran
		command = { type = removecore which = 537 } #Baluchistan
		command = { type = removecore which = 538 } #Kalat
		command = { type = removecore which = 1525 } #Qandahar
		command = { type = removecore which = 1526 } #Zahedan
		command = { type = removecore which = 1528 } #Kushka
		command = { type = removecore which = 1529 } #Birjand
		command = { type = sleepevent which = 236100 } #MUS: Shi'a Persia
		command = { type = trigger which = 254021 } #PER: A new capital
	}
}
#(1494-1597) A new capital
event = {
	id = 254021 #triggered by PER_21817 *
	trigger = {
		owned = { province = 487 data = -1 } #Azerbaijan
		control = { province = 487 data = -1 } #Azerbaijan
	}
	random = no
	country = PER
	name = "EVENTNAME254021" #A new capital
	desc = "EVENTHIST254021"
	#-#Tabriz was an excellent choice for the capital of the Safavid state. As a prosperous trading city and former capital of both the Kara Koyunlu and Ak Koyunlu, the location added a further aura of legitimacy to the Safavid regime.

	action_a = {
		name = "GREAT"
		command = { type = capital which = 487 } #Azerbaijan
		command = { type = population which = 487 value = 1000 } #Azerbaijan
	}
}

#(1500-1550) Annexation of Khorasan
event = {
	id = 254025
	trigger = {
		exists = KHO
		exists = UZB
		owned = { province = 1531 data = KHO } #Herat
		control = { province = 1531 data = -1 } #Herat
		NOT = {
			alliance = { country = PER country = UZB }
			vassal = { country = PER country = UZB }
			vassal = { country = UZB country = PER }
		}
	}
	random = no
	country = PER
	name = "EVENTNAME254025" #Annexation of Khorasan
	desc = "EVENTHIST254025"
	#-#During the early years of the Safavid dynasty, both the Safavids and Uzbeks were at odds to conquer the Kingdom of Khorasan. The victor only needed to successfully siege Herat and the remaining Timurid forces would crumble.

	date = { day = 1 month = march year = 1500 }
	offset = 10
	deathdate = { day = 1 month = march year = 1550 }

	action_a = {
		name = "ACTIONNAME254025A" #We win
		command = { type = annex which = KHO }
		command = { type = stability value = 1 }
		command = { type = relation which = UZB value = -200 }
	}
}

#(1500-1524) Conquest of Fars
event = {
	id = 254024 #triggered by FAR_306002
	random = no
	country = PER
	name = "EVENTNAME254024" #Conquest of Fars
	desc = "EVENTHIST306002"
	#-#In 1506, Ismail of the Safavids marched on the city of Shiraz and quickly captured it. With the conquest of the regional capital, he found it easy to quickly subdue the minor independent potentiates that had risen with the fall of the Koyunlu.

	action_a = {
		name = "ACTIONNAME254024A" #Our realm is strong
		command = { type = annex which = FAR }
	}
}

#(1501-1515) Ismail's Ambition
event = {
	id = 254300 #triggered by AKK_103011
	random = no
	country = PER
	name = "EVENTNAME254300" #Ismail's Ambition
	desc = "EVENTHIST254300"
	#-#Unfortunately for Alwand, a similar situation, to the battles for irvan, occurred when his 'superior' forces encountered those of Ismail. Alwand's defeat at Shurur, allowed 15 year old Ismail to march victoriously into Tabriz and finally found the Safavid state. Meanwhile Alwand retreated to Diyarbakir in hopes of gathering a new force.

	action_a = {
		name = "ACTIONNAME254300A" #We shall be unstoppable!
		command = { type = INF which = -2 value = 10000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -3 value = 2500 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -3 value = 2500 }
		command = { type = CAV which = -1 value = 2500 }
		command = { type = war which = AKK }
		command = { type = war which = IRA }
		command = { type = war which = FAR }
		command = { type = treasury value = 500 }
		command = { type = relation which = IRA value = -400 }
		command = { type = relation which = AKK value = -400 }
		command = { type = relation which = FAR value = -400 }
		command = { type = trigger which = 103012 } #province ceding event #AKK: The Growing Safavid Empire
	}
}

#(1503) Victory at Alma-Qulaq
event = {
	id = 254301 #triggered by IRA_350010
	random = no
	country = PER
	name = "EVENTNAME254301" #Victory at Alma-Qulaq
	desc = "EVENTHIST254301"
	#-#On June 20th of 1503, the forces of Sultan Murad encountered those of Ismail at Alma-Qulaq near Hamadan. His total defeat sealed the fate of his Iranian possessions, which accepted Safavid overlordship without resistance.

	action_a = {
		name = "ACTIONNAME254301A" #Our victory is inevitable
		command = { type = vp value = 50 }
	}
}

#(1505-1560) Shi'a Immigrants
event = {
	id = 254018
	trigger = {
		religion = shia
	}
	random = no
	country = PER
	name = "EVENTNAME254018" #Shi'a Immigrants
	desc = "EVENTHIST254018"
	#-#Shi'a followers all over the Muslim world flocked to the new Safavid state. These immigrants would be invaluable for a growing empire.

	date = { day = 1 month = january year = 1505 }
	offset = 90
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME254018A" #We are happy to have them
		command = { type = INF which = -1 value = 5000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = population which = -1 value = 1000 }
		command = { type = population which = -1 value = 1000 }
		command = { type = population which = -1 value = 2000 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = setflag which = [immigration] }
	}
}

#(1505-1514) Safavid-Timurid Alliance
event = {
	id = 254023
	trigger = {
		exists = KAB
		owned = { province = 1592 data = UZB } #Samarkand
		NOT = {
			vassal = { country = PER country = UZB }
			war = { country = PER country = KAB }
		}
		OR = {
			neighbour = UZB
			neighbour = KAB
		}
	}
	random = no
	country = PER
	name = "EVENTNAME254023" #Safavid-Timurid Alliance
	desc = "EVENTHIST254023"
	#-#In 1510 Babur and Shah Ismail I formed an alliance in an attempt to stem the expansion of the Uzbeks. In return for Ismail's assistance, Babur permitted Ismail to act as a suzerain over him and his followers. Shah Ismail also reunited Babur with his sister Khanzada, who had been imprisoned by and forced to marry the recently deceased Shaybani. Ismail provided Babur with a large wealth of luxury goods and military assistance, for which Babur reciprocated by adopting the dress and outward customs of the Shi'as. Coins were to be struck in Ismail's name, and the Khutba at the Mosque was also to be read in his name. In effect, Babur was to hold Samarkand as a vassal territority for the Persian Shah, though in Kabul, coins and the Khutba would remain in Babur's name.

	date = { day = 1 month = january year = 1505 }
	offset = 100
	deathdate = { day = 1 month = january year = 1514 }

	action_a = {
		name = "ACTIONNAME254023A" #Approach Babur about an alliance
		command = { type = relation which = KAB value = 100 }
		command = { type = relation which = UZB value = -100 }
		command = { type = stability value = 1 }
		command = { type = manpower value = -10 }
		command = { type = trigger which = 375003 } #KAB: Timurid-Persian Alliance
	}
	action_b = {
		name = "ACTIONNAME254023B" #We will take the Uzbeks on ourselves
		command = { type = relation which = UZB value = -50 }
		command = { type = relation which = KAB value = -25 }
		command = { type = manpower value = 5 }
	}
}

#(1508) Acquisition of Iraq
event = {
	id = 254302
	trigger = {
		exists = IRA
		event = 254301 #PER: Victory at Alma-Qulaq
	}
	random = no
	country = PER
	name = "EVENTNAME254302" #Acquisition of Iraq
	desc = "EVENTHIST254302"
	#-#In the summer of 1508, Ismail sent an envoy to Barik Beg, then the governor of Iraq for Sultan Murad. Barik Beg allegedly accepted the Sh'ia as a symbol of his submission to Shah Ismail. However, when Ismail marched on the city in person, Barik Beg and Sultan Murad fled, effectively ending Murad's five year rule. Ismail ordered an execution of all the clansmen in the city, ostensibly in retribution for their desecration of Safavid regalia.

	date = { day = 1 month = august year = 1508 }
	offset = 15
	deathdate = { day = 29 month = december year = 1508 }

	action_a = {
		name = "ACTIONNAME254302A" #We shall teach them a lesson!
		command = { type = annex which = IRA }
		command = { type = vp value = 50 }
		command = { type = population which = 489 value = -3000 } #Iraq
	}
}

#(1512-1522) The Reforms of Ismail
event = {
	id = 3559
	random = no
	country = PER
	name = "EVENTNAME3559" #The Reforms of Ismal
	desc = "EVENTHIST3559"
	#-#Shah Ismal Safavid was not only a great conqueror but also a great consolidator and reformer. His competent rule laid the foundation for the resurrected Persian state. The people, who had suffered like animals under Tamerlane and the Turkmen tribes, regarded their Shah as a saint and set to their tasks with great enthusiasm.

	date = { day = 1 month = january year = 1512 }
	offset = 3600
	deathdate = { day = 1 month = january year = 1522 }

	action_a = {
		name = "ACTIONNAME3559A" #Reform trade and infrastructure
		command = { type = infra value = 600 }
		command = { type = trade value = 600 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = provincetax which = -2 value = 3 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = revoltrisk which = 60 value = 2 }
	}
	action_b = {
		name = "ACTIONNAME3559B" #Reform the army
		command = { type = land value = 2000 }
		command = { type = manpower value = 20 }
	}
	action_c = {
		name = "ACTIONNAME3559C" #Fortify the realm
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = treasury value = -600 }
	}
}

#(1512-1522) The Turko-Persian Conflicts: Shi'a rebels
event = {
	id = 3560
	trigger = {
		exists = TUR
		NOT = { religion = sunni }
	}
	random = no
	country = PER
	name = "EVENTNAME3560" #Turko-Persian Conflicts: Shi'a rebels
	desc = "EVENTHIST3560"
	#-#Ever since the Safavid Shah Ismal the Great threw off the yoke of the White Sheep Turks to re-establish Persia as a nation, the Shi'a sect had grown stronger in Anatolia. Near the end of the reign of Bayezid II, the Kizilbash (Shi'a Turkmen) rose up in revolt against the Sunni regime. Supported by Shah Ismal and Bayezid's own son Ahmed, the rebels threatened to change the course of Ottoman history...

	date = { day = 1 month = may year = 1512 }
	offset = 700
	deathdate = { day = 1 month = january year = 1522 }

	action_a = {
		name = "ACTIONNAME3560A" #Support the Anatolian Shi'as
		command = { type = trigger which = 3360 } #TUR: Turko-Persian Conflicts: Shi'a rebels
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
		command = { type = land value = 200 }
		command = { type = casusbelli which = TUR value = 120 }
	}
	action_b = {
		name = "ACTIONNAME3560B" #Leave them to their fate
		command = { type = stability value = -1 }
	}
	action_c = {
		name = "ACTIONNAME3560C" #Betray the rebels to please the Sultan
		command = { type = relation which = TUR value = 150 }
		command = { type = stability value = -2 }
	}
}

#(1513-1515) The cap of Xeque Ismail
event = {
	id = 254019
	trigger = {
		religion = shia
		exists = ORM
	}
	random = no
	country = PER
	name = "EVENTNAME254019" #The cap of Xeque Ismail
	desc = "EVENTHIST254019"
	#-#In 1513 Xeque Ismail of Persia sent a cap to Ormuz demanding that Ormuz convert to the Shi'a form of Islam and submit to Persia. When King Terunxa of Ormuz took the cap the Persian ambassador Reys Hamad held him captive in his palace and ruled Ormuz as governor.

	date = { day = 0 month = october year = 1513 }
	offset = 30
	deathdate = { day = 1 month = january year = 1515 }

	action_a = {
		name = "OK"
		command = { type = trigger which = 423001 } #ORM: Ormuz takes the cap of Xeque Ismail -I-
		command = { type = trigger which = 423002 } #ORM: Ormuz takes the cap of Xeque Ismail -II-
	}
}
#(1513-1515) Persian vassalization of Ormuz
event = {
	id = 254017 #triggered by ORM_423001 A/C
	random = no
	country = PER
	name = "EVENTNAME254017" #Ormuz takes the cap of Xeque Ismail
	desc = "EVENTHIST254017"
	#-#In 1513 Xeque Ismail of Persia sent a cap to Ormuz demanding that Ormuz convert to the Shi'a form of Islam and submit to Persia. Cogeatar before he died advised the Sultan of Ormuz to wear this cap and to allow the Portuguese to build a fortress in Ormuz. When King Terunxa of Ormuz took the cap the Persian ambassador Reys Hamad held him captive in his palace and ruled Ormuz as governor.

	action_a = {
		name = "GOOD"
		command = { type = relation which = ORM value = 50 }
		command = { type = vassal which = ORM }
	}
}

#(1547-1580) Move to Qazvin
event = {
	id = 65050
	trigger = {
		owned = { province = 530 data = -1 } #Tabriz
		control = { province = 530 data = -1 } #Tabriz
		event = 21817 #PER: The Shi'a State of the Safavids
		event = 3360 #TUR: Turko-Persian Conflicts: Shi'a rebels
		exists = TUR
	}
	random = no
	country = PER
	name = "EVENTNAME65050" #Move to Qazvin
	desc = "EVENTHIST65050"
	#-#Since Tabriz wouldn't eternally withstand attacks from the Ottomans, the capital of Persia was moved to Qazvin. Shah Tahmasp I and his successors maintained the capital in Qazvin until 1598, when Shah Abbas moved it once again to Isfahan. During the reign of Tahmasp I, many buildings were erected in Qazvin, including Ali Q'apu and Chenel-Sotoun palaces which preceded their counterparts in Isfahan.

	date = { day = 3 month = january year = 1547 }
	offset = 720
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME65050A" #Move the capital to Qazvin
		command = { type = capital which = 530 } #Tabriz
		command = { type = population which = 530 value = 10000 } #Tabriz
		command = { type = population which = 487 value = -5000 } #Azerbaijan
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME65050B" #Remain in Tabriz
		command = { type = stability value = -2 }
	}
}

#(1553-1570) The Turko-Persian Conflicts: Prince Beyazid flees to Persia
event = {
	id = 3561 #triggered by TUR_3361 A
	random = no
	country = PER
	name = "EVENTNAME3561" #Turko-Persian Conflicts: Prince Beyazid flees to Persia
	desc = "EVENTHIST3561"
	#-#Sleyman the Great fought many wars with Persia to the overall advantage of the Ottomans. Yet another serious conflict sailed up on the horizon in 1559, when the Princes Selim and Bayezid fought each other in a civil war. Bayezid lost and fled to Persia in 1561, where he probably hoped to gain the support of the Shah, but Sleyman managed to get him returned for a large sum of gold. Bayezid and his sons were then executed in the most tragic event of Sleyman's life.

	action_a = {
		name = "ACTIONNAME3561A" #Deliver Prince Beyazid to the Sultan
		command = { type = treasury value = 200 }
		command = { type = DIP which = 8 value = 24 }
	}
	action_b = {
		name = "ACTIONNAME3561B" #Refuse to hand him over
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
	}
	action_c = {
		name = "ACTIONNAME3561C" #Give active support to Beyazid
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 200 }
	}
}

#(1575-1580) The Turko-Persian Conflicts: Murad III's campaigns against Persia
event = {
	id = 3562 #triggered by TUR_3362 A
	random = no
	country = PER
	name = "EVENTNAME3562" #Turko-Persian Conflicts: Murad III's campaigns against Persia
	desc = "EVENTHIST3562"
	#-#Murad III, a Sultan ruled by women, fought the Persians in an exhausting war (1578-90) that severely strained the Empire and forced heavy taxes upon the citizens. Though the war was not for nothing--Persia had to cede Azerbaijan, Tiflis and Hamadan to the Ottomans--the resources might have been better spent elsewhere.

	action_a = {
		name = "ACTIONNAME3562A" #Teach the Turk a lesson!
		command = { type = war which = TUR }
		command = { type = land value = 200 }
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3562B" #Ignore the Ottoman threat
		command = { type = casusbelli which = TUR value = 60 }
		command = { type = stability value = -1 }
	}
	action_c = {
		name = "ACTIONNAME3562C" #Seek diplomatic solution
		command = { type = DIP which = 8 value = 24 }
		command = { type = relation which = TUR value = 50 }
	}
}

#(1582-1592) Political Turmoil
event = {
	id = 3566
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1582 }
	offset = 720
	deathdate = { day = 29 month = december year = 1592 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1597-1629) The Reforms of Abbas the Great
event = {
	id = 3564
	trigger = {
		owned = { province = 533 data = -1 } #Isfahan
		control = { province = 533 data = -1 }
	}
	random = no
	country = PER
	name = "EVENTNAME3564" #The Reforms of Abbas the Great
	desc = "EVENTHIST3564"
	#-#The reign of Shah Abbas the Great marked the pinnacle of the Safavid dynasty. He developed a disciplined standing army, crushed the Uzbeks and avenged himself on the Ottomans. In 1598, he chose Isfahan as his new capital. A supporter of the arts, especially architecture, he adorned Isfahan with some of the finest Islamic monuments in the world. He built a number of mosques, schools, bridges and a major bazaar. During his reign, Persian craftsmen and artists excelled in creating fine silks, cloths, porcelain, metalwork, calligraphy, miniatures and carpets.

	date = { day = 1 month = december year = 1597 }
	offset = 720
	deathdate = { day = 0 month = january year = 1629 }

	action_a = {
		name = "ACTIONNAME3564A" #Move the capital to Isfahan
		command = { type = capital which = 533 } #Isfahan
		command = { type = population which = 533 value = 40000 } #Isfahan
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = 533 value = 3 } #Isfahan
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3564B" #Retain the old capital
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = -2 value = 3 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = stability value = 2 }
	}
}

#(1599-1629) The Advisors of Abbas the Great
event = {
	id = 3565
	random = no
	country = PER
	name = "EVENTNAME3565" #The Advisors of Abbas the Great
	desc = "EVENTHIST3565"
	#-#Shah Abbas greatly admired the military skills of the Western Europeans and gladly accepted Christian missionaries to his realm, even pretending to be on the verge of converting himself. The Shah finally secured the help of two Englishmen--Anthony and Robert Sherley--to reform the Persian army and navy. The results were not long in coming. Abbas took Bahrein from the Portuguese and sacked their base at Hormouz. The European advisors, however, were not popular in all quarters...

	date = { day = 1 month = december year = 1599 }
	offset = 720
	deathdate = { day = 0 month = january year = 1629 }

	action_a = {
		name = "ACTIONNAME3565A" #Hire the English advisors
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = stability value = -1 }
		command = { type = land value = 1000 }
		command = { type = domestic which = land value = 2 }
		command = { type = domestic which = offensive value = 2 }
	}
	action_b = {
		name = "ACTIONNAME3565B" #Rely on domestic advisors
		command = { type = stability value = 2 }
		command = { type = domestic which = land value = 1 }
		command = { type = domestic which = offensive value = 1 }
	}
}

#(1602-1610) Kakheti Regicide - Persians vassalize Georgia
event = {
	id = 254012 #triggered by KAK_349100
	random = no
	country = PER
	name = "EVENTNAME254012" #Konstantin is King of Georgia
	desc = "EVENTHIST254012"
	#-#As a result of a coup in Georgia, Persian forces put Konstantin, Abbas' puppet, on the throne. Although short lived, this vassalization improved the Persian position in their endless wars against the Turks.

	action_a = {
		name = "EXCELLENT"
		command = { type = stability value = 1 }
		command = { type = vassal which = KAK }
	}
}
#(1602-1610) Kakheti Regicide - Georgia refuses
event = {
	id = 254013 #triggered by KAK_349013 B
	random = no
	country = PER
	name = "EVENTNAME254013" #Persia claims Kakheti
	desc = "EVENTHIST254013"
	#-#Abbas, having set an eye on Kakheti, sent his troops to ensure the King did not decide to plot against Persia. Alas, King Alexander boldly refused to pay any respect to Abbas, hoping for Russian protection.

	action_a = {
		name = "ACTIONNAME254013A" #They will pay!
		command = { type = addcore which = 472 } #Iveria
		command = { type = relation which = KAK value = -100 }
		command = { type = casusbelli which = KAK value = 36 }
	}
}

#(1603) The Turko-Persian Conflicts: Persians take advantage of Ottoman instability
event = {
	id = 3563
	trigger = {
		exists = TUR
		event = 3562 #PER: Turko-Persian Conflicts: Murad III's campaigns against Persia
		NOT = {
			vassal = { country = TUR country = PER }
			alliance = { country = TUR country = PER }
		}
	}
	random = no
	country = PER
	name = "EVENTNAME3563" #Turko-Persian Tension
	desc = "EVENTHIST3563"
	#-#The Spahi revolts in Eastern Anatolia encouraged the Persian Shah to seek revenge for the humiliating losses incurred by Murad III. War broke out yet again in 1603.

	date = { day = 1 month = december year = 1603 }
	offset = 10
	deathdate = { day = 29 month = december year = 1603 }

	action_a = {
		name = "ACTIONNAME3563A" #Support the Turkish rebels and prepare for war
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 200 }
		command = { type = trigger which = 3363 } #TUR: Turko-Persian Conflicts: Persians take advantage of Ottoman instability
	}
	action_b = {
		name = "ACTIONNAME3563B" #Concentrate on internal issues
		command = { type = infra value = 300 }
		command = { type = stability value = 1 }
	}
}

#(1610-1614) Georgia is on it's knees
event = {
	id = 254014 #triggered by KAK_349017 A
	random = no
	country = PER
	name = "EVENTNAME254014" #Georgia is on it's knees
	desc = "EVENTHIST254014"
	#-#Teimuraz I, the King of Kakheti, as well as Luarsab of Kartli have shown disrespect to Shah Abbas for some time by refusing to show up at his court. Fearing his inevitable revenge and unwilling to spill the blood of their subjects, they finally arrived there and begged for his mercy while at home no real defence could be organized without them.

	action_a = {
		name = "ACTIONNAME254014A" #Imprison the Kings and take their lands
		command = { type = annex which = KAK }
		command = { type = badboy value = 1 }
	}
	action_b = {
		name = "ACTIONNAME254014B" #Take some tribute and reinstall them
		command = { type = treasury value = 100 }
		command = { type = trigger which = 349019 } #KAK pays tribute #KAK: Persia demands tribute
	}
	action_c = {
		name = "ACTIONNAME254014C" #Show mercy and release them
		command = { type = relation which = KAK value = 50 }
	}
}

#(1615) Revolt of Jandieri
event = {
	id = 254015
	trigger = {
		owned = { province = 472 data = -1 } #Georgia
	}
	random = no
	country = PER
	name = "EVENTNAME254015" #Revolt of David Jandieri
	desc = "EVENTHIST254015"
	#-#When Kakheti was conquered by the shah, the behaviour of the Kyzylbash was not good at all. Plundering and raping, the Persians soon earned the hatred of the local population. In 1615 a revolt started under the leadership of David Jandieri.

	date = { day = 1 month = january year = 1615 }
	offset = 1
	deathdate = { day = 1 month = january year = 1616 }

	action_a = {
		name = "ACTIONNAME254015A" #Georgia is in revolt!
		command = { type = revolt which = 472 } #Iveria
		command = { type = revolt which = 472 } #Iveria
		command = { type = revolt which = 472 } #Iveria
		command = { type = province_revoltrisk which = 472 value = 15 } #Iveria
	}
}

#(1621-1780) Persian Attack on Hormouz
#by sturmvogel
event = {
	id = 254022
	trigger = {
		owned = { province = 535 data = -1 } #Hormouz
		control = { province = 535 data = -1 } #Hormouz
		OR = {
			owned = { province = 504 data = POR } #Mascate
			owned = { province = 505 data = POR } #Al Kharam
			owned = { province = 506 data = POR } #Quatar
			owned = { province = 507 data = POR } #Damman
		}
		exists = ENG
	}
	random = no
	country = PER
	name = "EVENTNAME254022" #Attack on Hormouz
	desc = "EVENTHIST254022"
	#-#Shah Abbas was outraged by the Portuguese attack on the Persian garrison on the island of Qeshm to secure the local wells for their waterless island of Hormouz. He ordered the Portuguese expelled from Qeshm and Hormouz even though he had no navy. He offered trade privileges and reduced customs taxes to the English East India Company as well as custody of the castle of Hormouz itself for their assistance with the subtle reminder that the Dutch might agree if the English refused.

	date = { day = 7 month = may year = 1621 }
	offset = 3600
	deathdate = { day = 0 month = january year = 1780 }

	action_a = {
		name = "ACTIONNAME254022A" #This insult cannot be tolerated!
		command = { type = casusbelli which = POR value = 60 }
		command = { type = relation which = POR value = -100 }
		command = { type = trigger which = 164097 } #ENG: East Indian Company Attacks Portuguese Hormouz
	}
	action_b = {
		name = "ACTIONNAME254022B" #We don't have enough money
		command = { type = vp value = -5 }
	}
}

#(1632-1655) Muslim Kings in Kartli and Kakheti
event = {
	id = 254016 #triggered by KAK_349050 A/B
	random = no
	country = PER
	name = "EVENTNAME254016" #Muslim Kings in Kartli and Kakheti
	desc = "EVENTHIST254016"
	#-#After Teimuraz supported Safi's competitor in the succession after Abbas' death, the shah decided to install Rostom, an islamified Georgian prince who had been living in Persia as the mayor of Ispahan as King of Kartli and Kakheti. Rostom managed to beat Teimuraz and accepted Persian overlordship without restraint.

	action_a = {
		name = "ACTIONNAME254016A" #Let us appoint him
		command = { type = vassal which = KAK }
	}
}

#(1635-1645) Political Fragmentation
event = {
	id = 3574
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1635 }
	offset = 720
	deathdate = { day = 29 month = december year = 1645 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1639-1820) We have failed to retain Iveria
event = {
	id = 254026
	trigger = {
		NOT = {
			owned = { province = 472 data = -1 } #Iveria
		}
		core = { province = 472 data = -1 } #Iveria
	}
	random = no
	country = PER
	name = "EVENTNAME254026" #We have failed to retain Iveria
	desc = "EVENTHIST254026"
	#-#There is no longer any point in conquering Iveria.\n \n Historically, the Treaty of Kasr-i Sirin (also known as Treaty of Zuhab), signed between the Ottoman Empire and Persia in 1639, established borders that have changed little to this day. Hostilities between the two great empires decreased remarkably following the treaty as their relations steadily improved until 1722 when war broke out again. However, the treaty was dusted off and renewed in 1747.

	date = { day = 17 month = may year = 1639 }
	offset = 30
	deathdate = { year = 1820 }

	action_a = {
		name = "OK"
		command = { type = removecore which = 472 } #Iveria
		command = { type = relation which = TUR value = 100 }
	}
}

#(1640-1650) Political Turmoil
event = {
	id = 3567
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1640 }
	offset = 720
	deathdate = { day = 29 month = december year = 1650 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1655-1665) Political Fragmentation
event = {
	id = 3575
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1655 }
	offset = 720
	deathdate = { day = 29 month = december year = 1665 }

	action_a = {
		name = "ACTIONNAME3574A" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
}

#(1665-1675) Political Turmoil
event = {
	id = 3568
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1665 }
	offset = 720
	deathdate = { day = 29 month = december year = 1675 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1675-1685) Political Fragmentation
event = {
	id = 3576
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1675 }
	offset = 720
	deathdate = { day = 29 month = december year = 1685 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1690-1700) Political Turmoil
event = {
	id = 3569
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1690 }
	offset = 720
	deathdate = { day = 29 month = december year = 1700 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1695-1705) Political Fragmentation
event = {
	id = 3577
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1695 }
	offset = 720
	deathdate = { day = 29 month = december year = 1705 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1707-1720) Religious Intolerance Under Sultan Husain
#event = {
#	id = 6907
#	trigger = {
#		monarch = 0104516 #Sultan Husain I
#	}
#	random = no
#	country = PER
#	name = "EVENTNAME6907" #Religious Intolerance Under Sultan Husain
#	desc = "EVENTHIST6907"
#	#-#Sultan Husain was a relatively weak monarch, who allowed his religious policy to be determined by Muhammad Baaqir Majlisi, an important mullah. Religious tolerance was revoked and in its place was a new anti-Sunni, pro-Shi'a policy. Despite efforts, a great part of the empire had remained sunni and felt threatened by this new policy. The subjects of Afghanistan, staunchy sunni, were most displeased. By 1720, the country was in crisis.
#
#	date = { day = 1 month = january year = 1707 }
#	offset = 100
#	deathdate = { day = 1 month = january year = 1720 }
#
#	action_a = {
#		name = "CURSES"
#		command = { type = province_revoltrisk which = 1524 value = 7 } #Quetta
#		command = { type = province_revoltrisk which = 1525 value = 7 } #Qandahar
#		command = { type = province_revoltrisk which = 1527 value = 7 } #Kabul
#		command = { type = province_revoltrisk which = 1528 value = 7 } #Kushka
#		command = { type = revoltrisk which = 180 value = 5 }
#	}
#}

#(1715-1725) Political Fragmentation
event = {
	id = 3578
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1715 }
	offset = 720
	deathdate = { day = 29 month = december year = 1725 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1715-1725) Political Turmoil
event = {
	id = 3570
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1715 }
	offset = 720
	deathdate = { day = 29 month = december year = 1725 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1735-1745) Political Fragmentation
event = {
	id = 3579
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1735 }
	offset = 720
	deathdate = { day = 29 month = december year = 1745 }

	action_a = {
		name = "ACTIONNAME3574A" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
}

#(1738-1745) Persia Called in
event = {
	id = 254011
	trigger = {
		exists = OMA
		event = 248006 #OMA: Bilarab al-Yarubi assumes the Imamate
		NOT = {
			vassal = { country = OMA country = PER }
		}
		OR = { #Persia able to intervene
			owned = { province = 506 data = -1 } #Quatar
			owned = { province = 507 data = -1 } #Damman
			owned = { province = 508 data = -1 } #Basrah
			owned = { province = 509 data = -1 } #Bahrein
			owned = { province = 535 data = -1 } #Hormouz
			neighbour = OMA
			neighbour = GHR
		}
	}
	random = no
	country = PER
	name = "EVENTNAME254011" #Yarubis Request Intervention
	desc = "EVENTHIST254011"
	#-#With his grip on his country slipping away, Sayf II, last of the Yarubi Imams of Oman, sought aid from the Persians. Persia seized the opportunity to attempt the conquest of Oman.

	date = { day = 1 month = january year = 1738 }
	offset = 360
	deathdate = { day = 1 month = january year = 1745 }

	action_a = {
		name = "ACTIONNAME254011A" #Let us Intervene
		command = { type = wakeleader which = 0104823 } #Mirza Muhammad Khan (PER)
		command = { type = casusbelli which = OMA value = 60 }
		command = { type = relation which = OMA value = -200 }
	}
	action_b = {
		name = "ACTIONNAME254011B" #We Have Better Things to do
		command = { type = relation which = OMA value = 100 }
	}
}

#(1740-1750) Political Turmoil
event = {
	id = 3571
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1740 }
	offset = 720
	deathdate = { day = 29 month = december year = 1750 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1755-1765) Political Fragmentation
event = {
	id = 3580
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1755 }
	offset = 720
	deathdate = { day = 29 month = december year = 1765 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1756) Karim Shah
event = {
	id = 65055
	trigger = {
		monarch = 0104524 #Ismail III
	}
	random = no
	country = PER
	name = "EVENTNAME65055" #Karim Khan
	desc = "EVENTHIST65055"
	#-#After destroying his Afghani enemies, Karim Khan turned to rebuilding the country. While technically in charge of the country, he used Ismail III, the last representative of the Safavid dynasty, as a puppet ruler. During his reign, Karim Khan managed to bring order and prosperity to Persia. The roads, only a few years ago infested by gangs of all kinds, were now the safest in the region to travel, and the economy (and especially agriculture) destroyed by the rampage of Nadir Shah and 10 years of instability that followed his death, was finally on the rise.

	date = { day = 1 month = january year = 1756 }
	offset = 300
	deathdate = { day = 29 month = december year = 1756 }

	action_a = {
		name = "ACTIONNAME48024A" #Appoint him
		command = { type = ADM which = 4 value = 204 }
		command = { type = MIL which = 3 value = 204 }
		command = { type = DIP which = 3 value = 204 }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = stability value = 2 }
	}
}

#(1765-1775) Political Turmoil
event = {
	id = 3572
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1765 }
	offset = 720
	deathdate = { day = 29 month = december year = 1775 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#(1780-1790) Political Fragmentation
event = {
	id = 3581
	random = no
	country = PER
	name = "EVENTNAME3574" #Political Fragmentation
	desc = "EVENTHIST3574"
	#-#The death of Abbas I in 1629 consigned Iran to a long and painful slide into chaos. The decline resulted from weak rulers, interference by the women of the harem in politics, the re-emergence of Kizilbash rivalries, maladministration of state lands, excessive taxation, the decline of trade, and the weakening of Safavid military organization.

	date = { day = 1 month = december year = 1780 }
	offset = 720
	deathdate = { day = 29 month = december year = 1790 }

	action_a = {
		name = "ACTIONNAME3574A" #Let the factions conspire
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3574B" #Tighten state control
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#(1790-1800) Political Turmoil
event = {
	id = 3573
	random = no
	country = PER
	name = "EVENTNAME3566" #Political Turmoil
	desc = "EVENTHIST3566"
	#-#Safavid power was based on the Kizilbash (Shi'a Turkmen) tribesmen of Asia Minor who originally defeated the Ak Koyunlu. Unfortunately, the clans were unruly, constantly fighting each other and vying for control of the Shah. Under Abbas I the Great they were kept on a tight leash, but with his passing Persia was once more plagued by their infighting. Eventually their power waned, but they were only to be replaced by rebellious warlords from Afghanistan and Baluchistan in the 18th century.

	date = { day = 1 month = december year = 1790 }
	offset = 720
	deathdate = { day = 29 month = december year = 1800 }

	action_a = {
		name = "ACTIONNAME3566A" #Let the Clans fight
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b = {
		name = "ACTIONNAME3566B" #Buy the loyalty of the Clans
		command = { type = treasury value = -500 }
	}
}

#-----------------------------------------------------------------------------------------------

#First free id: 254027
