Shirvan (from Persian: شروان, translit. Shirvān; Azerbaijani: Şirvan; Tat: Şirvan), also spelled as Sharvān, Shirwan, Shervan, Sherwan and Šervān, is a historical region in the eastern Caucasus, known by this name in both Islamic and modern times. Today, the region is an industrially and agriculturally developed part of the Azerbaijan Republic that stretches between the western shores of the Caspian Sea and the Kura River and is centered on the Shirvan Plain.
Vladimir Minorsky believes that names such as Sharvān (Shirwān), Lāyzān and Baylaqān are Iranian names from the Iranian languages of the coast of the Caspian Sea.
There are several explanations about this name:
However, Said Nafisi points out that according to Khaqani's poems, where Khaqani contrasts his home town with kheyrvān (Persian: خیروان), the original and correct pronunciation of the name was Sharvān. So all etymologies relating this name to sher/shir (lion in Persian and Kurdish) or Anushiravan are most probably folk etymology and not based on historical facts. The form Shervān or Shirvān are from later centuries.
According to the Encyclopedia of Islam, Shirwan proper comprised the easternmost spurs of the Caucasus range and the lands which sloped down from these mountains to the banks of the Kur river. But its rulers strove continuously to control also the western shores of the Caspian Sea from Ḳuba (the modern town of Quba) in the district of Maskat in the north, to Baku in the south. To the north of all these lands lay Bab al-Abwab or Derbend, and to the west, beyond the modern Goychay, the region of Shaki. In mediaeval Islamic times, and apparently in pre-Islamic Sāsānid ones also, Shirwan included the district of Layzan, which probably corresponds to modern Lahidj, often ruled as a separate fief by a collateral branch of the Yazidi Shirwan Shahs.