Charles XIII of Sweden
Sweden refused Christian's conditions and a short military campaign ensued in which the Norwegian army was defeated by the forces of the Swedish crown prince Charles John. The brief war concluded with the Convention of Moss on 14 August 1814. By the terms of this treaty, King Christian Frederick transferred executive power to the Storting, then abdicated and returned to Denmark. The Storting in its turn adopted the constitutional amendments necessary to allow for a personal union with Sweden and on 4 November elected Charles XIII of Sweden as the new king of Norway.