Overview
Farrukh Yasar was the last independent Shirvanshah of Shirvan (1465–1500). In 1500, the first Safavid ruler, Ismail I, decisively defeated and killed Farrukh Yasar during his conquest of the area. Descendants of Farrukh Yasar continued to rule Shirvan under Safavid suzerainty, until 1538, when Ismail's son and successor Tahmasp I (r. 1524-1576) appointed its first Safavid governor, and made it a fully functioning Safavid province.
Relations
Aq Qoyunlu
He averted strategy of his ancestor's - alliance with Timurids, instead he moved towards Uzun Hasan. He married his daughter to Uzun Hasan's son Yaqub. On 31 January 1468 the combined forces of Shirvanshahs and the Aq Qoyunlu defeated Timurid khan Abu Sa'id Mirza. Future sultans of the Aq Qoyunlu – Baysunghur and Murad – were his grandsons.
Ottomans
He sent his "Khalaf al-Umara and Akabir" (Deputy of emirs and nobles) Ziyaaddin Yusif and his personal merchant Khawja Yar Ahmad with 2 bullions of gold to Istanbul, in order to establish relations with Mehmed the Conqueror.
From Wikipedia (CC BY-SA 4.0).