During the Finnish War between Sweden and Russia, the four Estates of occupied Finland were assembled at the Diet of Porvoo on 29 March 1809 to pledge allegiance to Alexander I of Russia who in return guaranteed that the laws and liberties as well as religion would be left unchanged.