The vote marks a new era in Finland, which for decades has elected presidents to foster diplomacy, in particular with neighbouring Russia, and opted not to join military alliances so it could soothe tensions between Moscow and NATO.

But Finns changed their minds about playing that role after Russia's invasion of Ukraine in 2022, in a rapid u-turn that led to Finland joining NATO in April last year.

Now under the Western alliance's security umbrella, the new president will replace Sauli Niinisto, who is retiring after two six-year terms in which he earned the nickname "the Putin Whisperer" for his previous close ties with the Russian leader.

Niinisto's successor will have a central role in defining Finland's NATO policies, while leading on overall foreign and security policy in close cooperation with the government and acting as a commander-in-chief of the armed forces.

Nearly 46% of those entitled to vote cast their ballots in advance of Sunday, official data showed, with the first results from advance votes due to be published shortly after polls close at 1800 GMT. The winner is expected to be known by around 2100 GMT.

NO RELATIONS WITH RUSSIA

Stubb, a former prime minister, won the election's first round on Jan. 28 with 27.2% of the ballots ahead of liberal Green Party member Pekka Haavisto on 25.8%. He has also led Haavisto in surveys, most recently by 6-8 percentage points.

Both candidates are pro-European and strong supporters of Ukraine who have taken a tough stance towards Russia in their campaigns.

In an interview with Reuters last month, Stubb said there would be no Russian pillar in Finland's foreign policy for now:

"Politically, there will be no relations with the president of Russia or with the Russian political leadership until they stop the war in Ukraine."

Stubb is in favour of deep NATO cooperation, such as allowing the transport of nuclear weapons through Finnish soil and placing some NATO troops permanently in Finland. He does not support storing nuclear weapons in Finland, however.

"At times, a nuclear weapon is a guarantee of peace," Stubb said at a debate on Tuesday.

Haavisto, a former foreign minister who has also served as a U.N. peace negotiator and is known as a human rights defender, has called for a more cautious approach.

Haavisto wants to maintain Finland's ban on nuclear weapons on its soil and considers a permanent NATO troop deployment unnecessary for the current security situation.

Russia has threatened Finland with retaliation in response to its NATO membership and a defence cooperation agreement signed with the U.S. in December.

(Reporting by Anne Kauranen, Editing by Kylie MacLellan)

By Anne Kauranen