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.