hausen ▁owner ▁of ▁the ▁castle ▁was ▁a ▁Lieutenant ▁in ▁the ▁Swiss ▁Gu ards ▁in ▁France . ▁ ▁He ▁had ▁little ▁interest ▁in ▁ever ▁living ▁in ▁the ▁castle ▁and ▁so ▁sold ▁it ▁in ▁ 1 6 8 3 ▁to ▁the ▁Abb ot ▁of ▁St . ▁Gall ▁for ▁ 2 5 , 0 0 0 ▁Gul den . ▁ ▁For ▁over ▁a ▁century , ▁the ▁castle ▁remained ▁a ▁possession ▁of ▁the ▁Ab bey ▁and ▁was ▁occupied ▁by ▁a ▁succession ▁of ▁over se ers . ▁ ▁The ▁castle ▁was ▁often ▁used ▁as ▁a ▁summer ▁palace ▁for ▁the ▁Abb ot . ▁ ▁In ▁ 1 7 8 6 / 8 7 ▁a ▁large ▁residence ▁was ▁added ▁on ▁the ▁eastern ▁side ▁of ▁the ▁castle . ▁ ▁This ▁building ▁included ▁a ▁great ▁hall ▁and ▁comfortable ▁rooms ▁for ▁the ▁Abb ot . ▁ ▁After ▁the ▁ 1 7 9 8 ▁French ▁invasion ▁of ▁Switzerland ▁and ▁the ▁creation ▁of ▁the ▁Hel vet ic ▁Republic ▁the ▁Ab bey ' s ▁est ates , ▁including ▁H agen w il , ▁were ▁national ized . ▁ ▁With ▁the ▁collapse ▁of ▁the ▁Republic ▁and ▁the ▁ 1 8 0 3 ▁Act ▁of ▁Med iation , ▁the ▁C anton ▁of ▁St . ▁G allen ▁was ▁created , ▁incorpor ating ▁many ▁of ▁the ▁Ab bey ' s ▁former ▁est ates . ▁ ▁Two ▁years ▁later , ▁in ▁ 1 8 0 5 , ▁the ▁Grand ▁Council ▁of ▁the ▁C anton ▁decided ▁to ▁sell ▁off ▁much ▁of ▁the ▁former ▁est ates ▁including ▁H agen w il . ▁