By the end of the 19th century, the monastery had already possessed 178 desyatinas and a few buildings in Moscow. In the second half of the 19th century, Danilov Monastery's cemetery was a final resting place for many writers, artists and scientists, such as Nikolai Gogol, Nikolai Yazykov, Vasili Perov, Nikolai Rubinstein, Vladimir Solovyov and many others. The remains of most of them, however, were transported in Soviet years to the Novodevichy Cemetery. By 1917, Danilov Monastery had 19 monks and four novices and owned 164 desyatinas of land. After the October Revolution, the monastery housed archimandrites who had been deprived of their pulpits. In 1929, the Soviets issued a special decree on closing the monastery and organizing a detention facility on its premises under the auspices of NKVD (приёмник-распределитель НКВД, or priyomnik-raspredelitel' NKVD). The last monastery closed in Moscow became the first one to be returned in 1983 to the Moscow Patriarchy and became a spiritual and administrative centre of the Russian Orthodox Church. In 1988, the monastery was restored. A residence was built for the Patriarch and Synod, as well as a funeral chapel and a chapel in commemoration of the 1000 years of Russia's baptism. Buildings Apart from the 17th-century defensive towers and walls, the surviving buildings include the katholikon (main church), the Neoclassical cathedral of the Holy Trinity (1833-1838), the Baroque gate church and belltower of St Simeon Stylites (1681, 1732), a group of 19th-century dwellings for monks and the father superior, and the extensive modern residence of the Holy Synod and the Patriarch (1988). Right next door is the large parish church of the Renovation of the Temple in Jerusalem, built in 1832-1837 to Neoclassical designs by Fyodor Shestakov. The oldest building is the katholikon dedicated to the Holy Fathers of the First seven ecumenical councils (a dedication not found anywhere else in the Christian world). The lower temple was built during the reign of Tsar Alexis as a church dedicated to the feast of the Intercession. Two Baroque upper churches were completed in 1730 and 1752, respectively. The katholikon is the only building in Moscow to feature two distinct churches above another church on the ground floor. Bells When the monastery was closed in 1929 and 1930, its bell set was saved from Communist melting through the purchase by American industrialist Charles R. Crane. The largest of the bells, Bolshoi (or The Big One