During the political upheavals of the early 17th century the Monastery withstood a legendary 16-month siege, as a result of which it received many rich endowments and donations. Sorne of this money was used to strengthen the already formidable defences, which were to prove their worth at the end of the century, when the young Tsar Peter (the Great) twice took refuge there. With Peter's consolidation of power, a number of new buildings in Baroque style were added to the Monastery, incl uding the refectory chamber with the church of St Sergius, a stone palace for the Tsar (Chertogi), the Church over the Gates, and the Chapel over the Well.