From the Hans Christian Andersen biography "The Life of Hans Christian Andersen. Day By Day", written by DPhil Johan de Mylius:
In this year
Peace treaty after the Napoleonic Wars. Denmark now loses Norway. Initially, Norway achieves a free constitution under the later King Christian VIII, but is then brought under the rule of Sweden, where Marshal Bernadotte in the mean time has become successor to the throne and has turned against Napoleon.