German mediatization
Abbot Rupert ushered in the most flourishing period in the history of Ottobeuren which lasted until its secularization in 1802. In the zenith of its glory, Ottobeuren fell victim to the German mediatization along with all the other imperial abbeys of the Holy Roman Empire. On 1 December 1802 Ottobeuren was secularized and its territory annexed to Bavaria. At the time, the territory of the imperial abbey covered 266 square kilometers and had about 10,000 inhabitants.