Preslav, and captured Bulgarian Tsar Boris II. Patriarch Damyan managed to escape, initially to Sredetz (Sofia) in western Bulgaria. In the coming years, the residence of the Bulgarian patriarchs remained closely connected to the developments in the war between the next Bulgarian royal dynasty, the Comitopuli, and the Byzantine Empire. Patriarch German resided consecutively in the medieval Bulgarian cities of Maglen (Almopia) and Voden (Edessa) (both in present-day north-western Greece), and Prespa (in present-day southern North Macedonia). Around 990, the next patriarch, Philip, moved to Ohrid (in present-day south-western North Macedonia), which became the permanent seat of the Patriarchate. After Bulgaria fell under Byzantine domination in 1018, Emperor Basil II Bulgaroktonos (the “Bulgar-Slayer”) acknowledged the autocephalous status of the Bulgarian Orthodox Church. By special charters (royal decrees), his government set up its boundaries, dioceses, property and other privileges. He deprived the church of its Patriarchal title and reduced it to the rank of an archbishopric. Although the first appointed archbishop (John of Debar) was a Bulgarian, his successors, as well as the whole higher clergy, were selected from Byzantines. The monks and the ordinary priests continued to be predominantly Bulgarian. To a large extent the archbishopric preserved its national character, upheld the Slavonic liturgy, and continued its contribution to the development of Bulgarian literature. The autocephaly of the Ohrid Archbishopric remained respected during the periods of Byzantine, Bulgarian, Serbian, and Ottoman rule. The church continued to exist until it was unlawfully abolished in 1767. Tarnovo Patriarchate As a result of the successful uprising of the brothers Peter IV and Ivan Asen I in 1185/1186, the foundations of the Second Bulgarian Empire were laid with Tarnovo as its capital. Following Boris I’s principle that the sovereignty of the state is inextricably linked to the autocephaly of the Church, the two brothers immediately took steps to restore the Bulgarian Patriarchate. As a start, they established an independent archbishopric in Tarnovo in 1186. The struggle to have the archbishopric recognized according to the canonical order and elevated to the rank of a Patriarchate took almost 50 years. Following the example of Boris I, Bulgarian Tsar Kaloyan manoeuvred for years between the Patriarch of Constantinople and Pope Innocent III. Finally in 1203 the latter proclaimed the Tarnovo Archbishop Vassily "Primate and Archbishop of all Bulgaria and Walachia." The union with the Roman Catholic Church continued for well over two decades. Under the reign of