At the end of the 10th century, what is now the Republic of North Macedonia became the political and cultural heartland of the First Bulgarian Empire, after Byzantine emperors John I Tzimiskes conquered the eastern part of the Bulgarian state during the Rus'–Byzantine War of 970–971. The Bulgarian capital Preslav and the Bulgarian Tsar Boris II were captured, and with the deposition of the Bulgarian regalia in the Hagia Sophia, Bulgaria was officially annexed to Byzantium. A new capital was established at Ohrid, which also became the seat of the Bulgarian Patriarchate. A new dynasty, that of the Comitopuli under Tsar Samuil and his successors, continued resistance against the Byzantines for several more decades, before also succumbing in 1018. The western part of Bulgaria including Macedonia was incorporated into the Byzantine Empire as the province of Bulgaria (Theme of Bulgaria) and the Bulgarian Patriarchate was reduced in rank to an Archbishopric.