The Finnish War was fought between Sweden and Russia from February 1808 to September 1809. As a result of the war, Finland which formed the eastern third of Sweden proper became the autonomous Grand Duchy of Finland within Imperial Russia. Finland remained as a part of Russian Empire until 1917 at which point it became independent. Another notable effect was the Swedish parliament's adoption of a new constitution and a new royal house, that of Bernadotte.