The Sajid state

\"\"The decline of the Arab Caliphate at the end of the 9th century led to the establishment of independent and semi-independent states in the territory of Azerbaijan. During that period a new state founded by the Sajid dynasty emerged in the south (898-941). It was established by Muhammad ibn Abi’l-Saj Diwdad, Caliph`s Turkish commander originally from Ushrusana. The most peominent representative of the Sajids was Yusuf Ibn Abi’l-Saj, who managed to unite all the Azerbaijani lands within an independent state for the first time. The areas from Ani and Dvin in the west to the Caspian Sea in the east, from Zanjan in the south, to Derbent in the north became subject to the Sajids. In 941, Marzuban ibn Muhammad, son of the ruler of Daylam from the Salarid dynasty, put an end to the reign of the Sajids over Azerbaijan. Its capitals were Maraga and Ardebil.