Who was the leader of Finland in the World War 2?

Presidents:

Kyösti Kallio (March 1, 1937 - November 27, 1940),

Risto Ryti (19 December 1940 - 4 August 1944)

Carl Gustaf Emil Mannerheim (4 August 1944 - 4 March 1946)