On 7 December , 1849 , Prince Friedrich Wilhelm Konstantin sold the country to his relative , King Frederick William IV of Prussia . On December 7 , 1849 , Prince Friedrich Wilhelm Konstantin sold the country to his relative , King Frederick William IV of Prussia .