 Temporarily given in pawn to Bavaria, the unlucky Prince-Archbishop Wolf Dietrich Raitenau had to cede the castle to the Bavarian duke Maximilian I in 1611; it was repurchased by his successor Archbishop Mark Sittich von Hohenems and rebuilt as a hunting lodge according to plans designed by Santino Solari.By the 17th century the castle had finally lost its character of a fortress and became the summer residence of the Prince-Archbishops of Salzburg.Upon the Congress of Vienna, the Rupertiwinkel region finally fell to the Kingdom of Bavaria and Tittimoning Castle, damaged by French troops during the Napoleonic Wars, passed under state-ownership.