After the fall of the First Bulgarian Empire under Byzantine rule in 1018, the emperor Basil II transformed Skopje into a capital of a theme and an episcopal see, whose bishop was elected for a four-year term.
With the coming to power of the Komnenni dynasty in the beginning of the XII century, the city lived a relatively calm period and saw significant development.