Shamakhi District

[2] In its history, eleven major earthquakes have rocked Shamakhi, but each time it was reconstructed by its inhabitants due to its role as the economic and administrative capital of Shirvan and one of the key towns on the way of the Silk Road.

The Catholic friar, missionary and explorer William of Rubruck passed there on his return journey from the Mongol Great Khan's court.

[3] In the middle of the 16th century it was the seat of an English commercial factory, under the traveller Anthony Jenkinson, afterwards envoy extraordinary of the khan of Shirvan to Tsar Ivan IV the Terrible of Russia.

Adam Olearius, who visited Shamakhi in 1637, wrote: "Its inhabitants are in part Armenians and Georgians, who have their particular language; they would not understand each other if they did not use Turkish, which is common to all and very familiar, not only in Shirvan but also everywhere in Persia.

In 1742 Shamakhi was taken and destroyed by Nadir Shah of Persia, who, to punish the inhabitants for their Sunnite creed, built a new town under the same name about 26 kilometres (16 mi) to the west, at the foot of the main chain of the Caucasus Mountains.

The British Penny Cyclopaedia stated in 1833 that "The bulk of the population of Shirvan consists of the Tatar, or, to speak more correctly, Turkish race, with some admixture of Arabs and Persians.

With regard to religion, 79% of the population was Muslim, of which 22% was Sunni and the rest Shiite; the remaining 21% was "Armeno-Gregorian" (members of the Armenian Apostolic Church) and "Pravoslav" (Orthodox).

Not only Azerbaijan but also the Middle East, Central Asia, Turkey and from the other countries had studied science in madrassah of Juma mosque since the end of the 19th century.

In the 10th–13th centuries, many cities of Azerbaijan, including Tabriz, Maragha, Ganja, Nakhchivan, Shamakhi and Ardabil, were known as the centres of science, education, art and culture in the East.

[13] As one of the largest wine-growing regions of Azerbaijan, Shamakhi hosted the Grape and Wine Festival in August 2019 in Meysari village with the support of Heydar Aliyev Foundation.

The festival was aimed to encourage local grape and wine production, as well as, to promote the history of wine-producing in Azerbaijan.