▁the ▁c athedral ▁chapter ▁elected ▁Prince ▁Henry ▁Julius ▁of ▁Brun sw ick - W olf en b ütt el ▁first ▁Luther an ▁bishop ▁in ▁ 1 5 6 6 . ▁During ▁the ▁Th irty ▁Years ' ▁War , ▁the ▁town ▁was ▁occupied ▁by ▁the ▁troops ▁of ▁Al bre cht ▁von ▁W allen stein ▁in ▁ 1 6 2 9 ▁and ▁tempor arily ▁re - C atholic ized ▁according ▁to ▁the ▁imperial ▁Ed ict ▁of ▁Rest itution . ▁According ▁to ▁the ▁ 1 6 4 8 ▁Peace ▁of ▁West phal ia , ▁the ▁prince - bishop ric ▁was ▁finally ▁sec ular ized ▁to ▁the ▁Princi p ality ▁of ▁Hal ber stadt ▁held ▁by ▁Brandenburg - Pr uss ia . ▁The ▁first ▁sec ular ▁governor ▁was ▁Jo achim ▁Friedrich ▁von ▁Bl ument hal . ▁ ▁Hal ber stadt ▁became ▁part ▁of ▁the ▁newly ▁established ▁Kingdom ▁of ▁Pr uss ia ▁in ▁ 1 7 0 1 . ▁From ▁ 1 7 4 7 ▁Johann ▁Wilhelm ▁Ludwig ▁G le im ▁worked ▁here ▁as ▁a ▁government ▁official ▁and ▁made ▁his ▁home ▁an ▁intellectual ▁centre ▁of ▁the ▁En light en ment ▁( A uf klär ung ) ▁movement . ▁Upon ▁the ▁ 1 8 0 7 ▁Tre aty ▁of ▁T ils it , ▁the ▁town ▁became ▁part ▁of ▁the ▁Kingdom ▁of ▁West phal ia , ▁a ▁Napole onic ▁client - state , ▁and ▁administrative ▁seat ▁of ▁the ▁West phal ian ▁Department ▁of ▁Sa ale . ▁On ▁ 2 9 ▁July ▁ 1 8 0 9 , ▁a ▁West phal