[2] Today, the region is an industrially and agriculturally developed part of the Republic of Azerbaijan that stretches between the western shores of the Caspian Sea and the Kura River, centered on the Shirvan Plain.
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.
[2] The 19th century native historian and writer Abbasgulu Bakikhanov defines it as: "The country of Shirvan to the east borders on the Caspian Sea, and to the south on the river Kur, which separates it from the provinces of Moghan and Armenia".
[2] By the Treaty of Gulistan (12/24 October 1813) following the end of the 1804–1813 war, Persia was forced to cede its territories and regions comprising Darband, Quba, Shirwan and Baku, while giving up all claims on them as well.
According to Vladimir Minorsky: "The presence of Iranian settlers in Transcaucasia, and especially in the proximity of the passes, must have played an important role in absorbing and pushing back the aboriginal inhabitants.
"[7] Abu al-Hasan Ali ibn al-Husayn Al-Masudi (896–956), the Arab historian states Persian presence in Aran, Bayleqan, Darband, Shabaran, Masqat and Jorjan.
Up to the nineteenth century, there was still a large number of Tat people (who claim to be descendants of Sassanid era Persian settlers), however due to their similar culture and religion with the Turkic-speaking Azerbaijanis, this population was partly assimilated.