This hit the town by surprise, since they now had to take on tasks which had previously been settled by the monastery, such as education. The buildings were subsequently put to a variety of purposes. In March 1798, Napoleon I abolished the Old Swiss Confederacy and proclaimed the Helvetic Republic. Muri was the administrative seat of a district of the canton of Baden. The current municipality of Muri was created in 1816 after the dissolution of the district municipality and the merger of Egg, Hasli, Langdorf, and Wey; the community of Hasli had meanwhile been driven to bankruptcy. On 21 August 1889, part of the monastery burned down, and the complete restoration of the east wing was completed only in 1989. Since 1960, a small group of monks have been living in a wing of the monastery. The remaining rooms now belong to the county and municipality, as well as some classrooms. On 1 June 1875, the town became connected to the railway network when the Wohlen–Muri section of the Aargau Southern Railway was opened. The continuation after Red Cross (with connection to the Gotthardbahn) was delayed for financial reasons and only took place on 1 December 1881. For a while there was much tourism because from 1868 to 1917 there was a spa and bathhouse. The former Benedictine Muri Abbey, the "Leontiusbrunnen" (fountain) at Leontiusplatz, the so-called "Klosterscheune" near the Abbey at Klosterhof 197 and the granary at Hasli 233 are all listed as Swiss heritage sites of national significance. The entire hamlet of Hasli is designated as part of the Inventory of Swiss Heritage Sites. The dominant landmark of Muri is the Muri Abbey. This is a nearly 1000-year-old Benedictine. Its centerpiece is an in Baroque constructed, octagonal central building (Octagon) from the 17th Century. The central building is enclosed by one from the 11th -Century Romance Church. Even elements of the Gothic Architectural style are represented. The church is rich with Frescoes and carvings. In the Cloister with the valuable Glass painting cycle of the 16th Century is the Habsburg crypt. It contains the hearts of the last rulers of the Austrian Monarchy Emperor Charles I and Empress Zita of Bourbon-Parma and the hearts of other members of the Habsburg family. The bodies of the couple's sons Randolph and Felix are buried here.