Бабек
During the ninth century, the Abbasid Caliphate dealt with uprisings against Arab rule. The Khurramites, led by Babak Khorramdin, staged a persistent revolt. Babak's victories over Arab generals were associated with his seizure of Babak Fort, according to Arab historians who said that his influence extended to Azerbaijan: "southward to near Ardabil and Marand, eastward to the Caspian Sea and the Shamakhi district and Shervan, northward to the Muqan (Moḡan) steppe and the Aras riverbank, westward to the districts of Jolfa, Nakjavan, and Marand".