In 1809 Mannerheim became a member of the Diet of Porvoo and took part in the creation of Grand Duchy's institutions. He was the main figure in the Finnish delegation sent to the Russian Emperor that discussed Finland's future within the tsar's realm.