Colombo, Jan 8: Millions of Sri Lankans are set to vote in an unexpectedly close election that pits President Mahinda Rajapaksa against one of his former allies.
Rajapaksa, in office since 2005, called the election two years early with analysts predicting an easy win.
But many voters have since rallied behind the challenger, former minister Maithripala Sirisena.
Rajapaksa rode a wave of popularity after the civil war ended in 2009 but he now faces claims of cronyism.
His relatives fill many of the the most powerful and influential positions in the country, and critics accuse him of running the state like a family business.
Analysts say Sirisena appears to have capitalised on this perception, making gains among Sinhalese who usually vote for Rajapaksa.
Sirisena is also expected to win most of the vote from the ethnic minorities that make up 30 percent of Sri Lanka's population.
Rajapaksa, however, remains hugely popular with many in the Sinhalese majority.
He has presided over a period of impressive economic growth and still has political capital from being the leader who brought an end to the war.
The election campaign has been marred by violence and allegations of intimidation.
On Wednesday, an opposition activist died a day after being shot while organising a rally.
And election officials said they were looking into claims that the army had been deployed in Tamil areas, allegedly to deter Tamils from voting.
Rajapaksa was last elected in 2010, when he defeated his former army chief Sarath Fonseka, who was later jailed for implicating the government in war crimes.
Both sides in the 26-year civil war have been accused of atrocities.
Government forces were alleged to have killed many civilians during their final bloody assault on the Tamil Tigers, during which thousands of people were killed.
Polling stations would open at 7 a.m Thursday, and results are expected Friday.