 It was built in 1862 as the funerary chapel of Grand Duchess Maria Pavlovna and was one of the first Russian-styled buildings in Germany.Interesting churches in the suburban districts are the Lutheran parish church of Gelmeroda, which was the inspiration for many paintings by Lyonel Feininger, and the Lutheran parish church of Oberweimar, which was a former monastery, and is a good example of Gothic architecture in Weimar.Due to its function as a ducal residence, Weimar is rich in early-modern castles and palaces.