German mediatization
The heyday of the monastery ended with the German mediatization in 1803. It was secularized, and the territory fell to the Margraviate of Baden.