Overview
Ibrahim I was the 33rd Shirvanshah (ruler of Shirvan, r. 1382–1418). Because of his cunning politics he managed to remain independent and avoid being deposed by the Turko-Mongol ruler Timur.
Family and accession to the throne
The son of the Shirvanian prince Sultan Muhammad, Ibrahim was born in a village in Shakki, where he took care of the agriculture. After the death of Shirvanshah Hushang in 1382, Ibrahim I was selected to be the ruler by the local nobility.
Reign
In 1386, Ibrahim recognized the powerful Turko-Mongol ruler Timur as his suzerain. When Timur arrived to Caucasus in 1394, Ibrahim gave him gifts and riches as presents in order to maintain good relations with him. However, one of these gifts were eight slaves, which Timur did not see as enough—when he asked Ibrahim why he had only given eight slaves, Ibrahim replied: "I am myself the ninth". This made Timur glad, who due to the kindness of Ibrahim gave him much land and promised to protect him. From 1399 to 1402, Ibrahim fought alongside Timur in his campaigns in Syria and Anatolia. Timur later died in 1405, fighting and rebellion broke, causing great disruption. Ibrahim was one those; he used the death of Timur as an opportunity to declare independence and seize Ganja and Karabakh.
From Wikipedia (CC BY-SA 4.0).