As early as in the second half of the 8th century the Ohrid region became an attractive area for the Bulgarian state. During the Bulgarian tsar Boris I Mihail, the Macedonian territories in a military-administrative respect were included in several "komitats". Ohrid was in the komitat which covered the Ohrid - Devol areas. In 886, Clement, after a short stay in the Bulgarian court, was sent to Macedonia with an important state mission. As a teacher and bishop Clement together with Naum laid the foundations of the so-called Ohrid glagolic literary school. Owing to the activities of Clement and Naum, the city of Ohrid, in the second half of the 9th century, became a Slavic cultural centre, and the emperor Samuil converted it into a religious centre and the capital of the kingdom. His fortresses still stand high above the city today.