Sri Lanka's former civil wartime defence chief Gotabaya Rajapaksa has been declared the winner in the presidential election, after promising to secure the country against militant threats following Easter bombings this year.
Mr Rajapaksa, who will be sworn into office in an ancient Buddhist temple tomorrow, is the latest nationalist leader to sweep to election victory, tapping into the anger and fears of majority communities.
In his first comments after defeating Sajith Premadasa, a housing minister in the current government, Mr Rajapaksa struck a conciliatory note, suggesting he would be leader of all Sri Lankans, regardless of their ethnic and religious identities.
"As we usher in a new journey for Sri Lanka, we must remember that all Sri Lankans are part of this journey. Let us rejoice peacefully, with dignity and discipline in the same manner in which we campaigned," he said in a tweet.
The election commission said Mr Rajapaksa won 52.25% of the votes in Saturday's election, while Premadasa got 41.99%, giving Rajapaksa a far bigger lead than predicted by politicians and analysts.
Millions voted to elect a new president to lead the country out of its deepest economic slump in over 15 years, dragged down by its tourism sector following the bombings on 21 April which killed more than 250 people.
Mr Rajapaksa, 70, oversaw the military defeat of Tamil separatists under his brother and then president MahindaRajapaksa 10 years ago.
He has promised strong leadership to secure the island of 22 million people, the majority of whom are Sinhalese Buddhists.
Rajapaksa and his brothers, who are expected to get key positions, are seen as closer to China than Premadasa.
China has invested billions of dollars building ports, expressways and power stations in the strategic Indian Ocean island nation.
But these projects have also led to high debt levels for Sri Lanka.
Finance minister Mangala Samaraweera and two other ministers resigned on Sunday after the defeat of the ruling party's candidate in the election.
Tamil political parties are strongly opposed to Rajapaksa, who has faced allegations of widespread human rights violations of civilians in the final stages of the war against the separatists in 2009.
Rajapaksa and his brother deny the allegations.
Muslims, the other large minority group, say they too have faced hostility since the April attacks on hotels and churches in which more than 250 people were killed. Islamic State claimed responsibility.
"His victory shows a division, and this could create more issues specially for other ethnic groups. I don't know how he will tackle Muslims and Tamils," said Victor Ivan, a political columnist.