A native of the Shirvan region, Shirvani belonged to a Shia Muslim family. The region was then ruled by the Shirvan Khanate, a dependency of Zand Iran.
A native of the Shirvan region, Shirvani was part of a Shia Muslim family. The area was then governed by the Shirvan Khanate, which was an affiliate of Zand Iran.