Near the Early Christian Episcopal church there is a mosque whose dome and minaret have been destroyed.

In the interior of the mosque there are to be found remains of the oldest Slavonic monastery, that dedicated to St. Panteleimon and built by
St. Kliment of Ohrid in 893.It was here that the Ohrid School, a centre of Slavonic literary and cultural activity, was situated. Here,
St. Kliment of Ohrid, the first writer from among the Macedonian Slavs, wrote his literary composition including the "Words in Praise of
St. Cyril", a masterpiece of mediaeval Slavonic prose. The archaeological finds in
St. Kliment's Church of St. Panteleimon include the tomb of
St. Kliment of Ohrid. According to Archbishop Theophilact's Life of
St. Kliment, the great Slavonic educator built his own tomb, in which he was buried in 916.
The local legend that
St. Kliment's Church and his grave had originally occupies this site was corroborated by the first excavations, carried out in 1943, when Prof. Dimee Koco discovered the foundations of
St. Kliment's Church and at the same time his tomb. On the foundations of the Early Christian basilica, whose remains have been preserved, a tri-conched, trefoil-shaped church was built in an architectural form popular at the time of
St. Kliment and
Naum. The church was renovated in the 12th century, and then again in the 13th. Chapels were added to the church and, in the 14th century, other additions including an external campanile. None of the frescoes from
St. Kliment's original 9th century church has survived. The fragments of those frescoes which have been uncovered in the course of archaeological research belong to three different periods when the monastery was being renovated or enlarged, After the advent of the Ottoman Turks, St. Kliment's Church was converted into a mosque, known as the Imaret Mosque, which still exists to this day. The mosque was built as an endowment and a memorial by Sinan Celebi, a member of the distinguished Turkish family of the Ohrizade.