After losing the Finnish War in 1809 Sweden ceded its eastern half to Russia and in 1812 Käkiksalmi was incorporated into the Grand Duchy of Finland.