The conquest of Shirvan was the first campaign of Ismail, the leader of the Safavid order. In late 1500, Ismail marched into Shirvan, and decisively defeated the then incumbent Shirvanshah Farrukh Yassar in a pitched battle.