St. Naum from Ohrid erected the church in the year of 900 and dedicated it to the Holy Archangels Michael and Gabriel. In 910, after his death, St. Naum was buried in a small chapel in the church.
The founder’s inscription above the entrance in the naos says that it was built and decorated with frescoes in 1361. The founder of the church was Caesar Grgur, and the patron of its interior decoration was Bishop Grigorij Devolski, one of the most influential figures of the Ohrid Archbishopric since the mid-14th century.
The traces of human existence on the territory of this region date back to the earliest times, which can be traced back through the rich archaeological heritage.