Shirvanshah also spelled as Shīrwān Shāh or Sharwān Shāh, was the title in medieval Islamic times of a Persianized dynasty of Arabic origin.[1] They ruled the area independently or as a vassal of larger empires from 809 A.D. up to 1607 A.D. when Safavid rule became firmly established.