3 ), ▁the ▁man or ▁was ▁purchased ▁in ▁by ▁the ▁Count ▁Johann ▁Friedrich ▁von ▁Med em ▁who ▁paid ▁ 1 3 5 ▁ 0 0 0 ▁flor ins ▁for ▁it . ▁He ▁built ▁a ▁new ▁Roc oco ▁style ▁man or ▁house ▁here . ▁His ▁daughter ' s ▁Dor othe a ▁von ▁Med em ' s ▁marriage ▁to ▁the ▁Duke ▁of ▁Cour land ▁Peter ▁von ▁Bir on ▁in ▁ 1 7 7 9 ▁further ▁elev ated ▁von ▁Med ems ’ ▁standing ▁among ▁the ▁local ▁nobles . ▁ ▁After ▁the ▁death ▁of ▁Johann ▁in ▁ 1 7 8 5 , ▁Ele ja ▁was ▁inherited ▁by ▁his ▁young est ▁son ▁Christoph ▁Johann ▁von ▁Med em . ▁After ▁many ▁years ▁of ▁service ▁in ▁Kingdom ▁of ▁Pr uss ia ▁and ▁Russian ▁Empire , ▁his ▁attention ▁returned ▁to ▁Ele ja . ▁In ▁ 1 7 9 9 ▁he ▁married ▁Maria ▁Louise ▁Elisabeth , ▁daughter ▁of ▁Peter ▁von ▁der ▁P ahlen , ▁a ▁favorite ▁of ▁em peror ▁Paul ▁I ▁of ▁Russia . ▁ ▁After ▁incorpor ation ▁of ▁Cour land ▁into ▁the ▁Russian ▁emp ire , ▁von ▁Med ems ▁retained ▁their ▁properties ▁and ▁from ▁ 1 8 0 6 ▁until ▁ 1 8 1 0 ▁Christoph ▁Johann ▁von ▁Med em ▁built ▁the ▁Ele ja ▁man or ▁house . ▁The ▁building ▁was ▁designed ▁by ▁the ▁famous ▁architect ▁Gia como ▁Qu ar eng hi ▁and ▁after ▁some ▁design ▁changes ▁built ▁by ▁Johann ▁Georg ▁Adam ▁Berl itz ▁in ▁a ▁ne oc lass ical ▁style . ▁Ele ja ▁man or ▁style ▁was ▁influ ential ▁in