Reichsdeputationshauptschluss
Upon the German mediatization of 1803, Tyrlaching and the whole Rupertiwinkel region passed to the short-lived Electorate of Salzburg under Grand Duke Ferdinand III of Tuscany and fell to the newly established Austrian Empire according to the 1805 Peace of Pressburg. In 1809/10 Austria had to cede the Salzburg Rupertiwinkel to the Kingdom of Bavaria.