It reached its present form in the 13th century after gaining prominence during the existence of the Empire of Trebizond. While the emperors Basil and John II had endowed the monastery richly, it was during the reign of Alexios III (1349–1390) that Sumela received its most important largess: according to legend, the young Alexios was saved from a storm by the Virgin, and was bidden by her to restore the monastery. A chrysobull dated to 1365 confirms the freedom and autonomy of the monastery, together with all of its hereditary lands and dependents; exempts them from all taxes, except for one biannual tax; and restores to it the serfs whom the tax-collectors of Matzouka had illegally taken from it, listing 40 of the serfs by name. At that time, the monastery was granted an amount annually from imperial funds. During the time of Manuel III, son of Alexios III, and during the reigns of subsequent princes, Sumela gained further wealth from imperial grants.