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.
