It is believed that in the 13th century the Kiev Prince Glozh, who obtained the region as a gift from Tsar Ivan Asen II (ruling from 1218 to 1241), constructed the monastery St. Transfiguration of Jesus in the region, as well as a small fortress. The Monastery existed by the 17th century, and, at the beginning of the 18th century, the monks built a new monastery, dedicated to St. George the Victorious, on the high rock, in order to protect it from the raids of the Ottomans. For some time the two monasteries existed simultaneously, being connected by a tunnel in the rocks.