Джаханшах
Upon the death of the Timurid ruler Shah Rukh in 1447, Jahan Shah became an independent ruler of the Kara Koyunlu, and started to use the titles of sultan and khan. At the same time, the Timurid Empire took advantage of the struggles among the Turkoman princes and captured the cities of Sultaniya and Qazvin. Peace was made when Sultan Muhammad bin Baysonqor was married to a daughter of Jahan Shah. However, he retook lands he lost from Mirza Babur. He appointed his son Pirbudag to govern Isfahan in 1452. In the summer of 1458, he advanced as far as Herat, but had to return back soon because of a revolt by his son Hasan Ali and also because Abu Said's march on Tabriz.