With short interruptions, the territory that later became a part of Sanjak of Scutari in the Ottoman Empire, belonged to the Slavic medieval feudal states for many centuries. The South Slavs ("Sklavenoi") began raiding Byzantine territories in the 520s and had conquered Durrës and most of Epirus and Macedonia in 548. According to Emperor Constantine VII (r. 913–959) the early Serbs lived in the former Roman provinces of Dalmatia, Praevalitana and Moesia. During the rule of Časlav Klonimirović (r. 927-960), most of Albania was part of Bulgaria (eastern) and the Byzantine Empire (Dyrrhachium (theme), western maritime). After the Byzantine annexation of Raška, the Serbian principality of Duklja succeeded as the main Serb state and it included much of the land north of Durrës, with Shkodër being an important city. Khan Samuel of Bulgaria (r. 997–1014) had by 997 conquered all of Thessaly, Epirus, Macedonia, and most of modern Albania.