▁from ▁the ▁proxim ity ▁of ▁the ▁capital ▁Mann heim . ▁O gg ers heim ▁in ▁particular ▁gained ▁some ▁importance , ▁after ▁the ▁construction ▁of ▁both ▁a ▁small ▁palace ▁serving ▁as ▁secondary ▁residence ▁for ▁the ▁Elect or , ▁and ▁the ▁famous ▁pil gr image ▁church , ▁Wall fahrt sk irche . ▁For ▁some ▁weeks ▁in ▁ 1 7 8 2 , ▁the ▁great ▁German ▁writer ▁and ▁play w right ▁Friedrich ▁Sch iller ▁lived ▁in ▁O gg ers heim , ▁on ▁flight ▁from ▁his ▁native ▁Wür ttemberg ). ▁ ▁War ▁returned ▁to ▁the ▁Ludwig sh afen ▁area ▁with ▁the ▁arm ies ▁of ▁the ▁French ▁Revolution . ▁The ▁palace ▁at ▁O gg ers heim ▁was ▁burn ed ▁down , ▁Mann heim ▁bes ie ged ▁several ▁times , ▁and ▁all ▁the ▁area ▁west ▁of ▁the ▁Rh ine ▁an nex ed ▁by ▁France ▁from ▁ 1 7 9 8 ▁to ▁ 1 8 1 3 . ▁The ▁Elect or ate ▁of ▁the ▁Pal at inate ▁was ▁split ▁up . ▁The ▁eastern ▁bank ▁of ▁the ▁Rh ine ▁with ▁Mann heim ▁and ▁Heidel berg ▁was ▁given ▁to ▁Baden , ▁while ▁the ▁western ▁bank ▁( including ▁the ▁Ludwig sh afen ▁area ) ▁was ▁granted ▁to ▁Bav aria , ▁following ▁the ▁Wars ▁of ▁Liber ation ▁( 1 8 1 3 - 1 8 1 5 ), ▁in ▁which ▁the ▁French ▁were ▁exp elled . ▁The ▁Rh ine ▁had ▁become ▁a ▁front ier ▁and ▁the ▁Rhein sch anze , ▁cut ▁off ▁polit ically ▁from ▁Mann heim , ▁lost ▁its ▁function ▁as ▁the ▁neighbour