Dhaka, Nov. 2 -- Tanzanian President Samia Suluhu Hassan has been declared the winner of the country's disputed presidential election with nearly 98 percent of the vote, after leading rivals were excluded from the race.

The final result announced by the electoral commission on Saturday showed Hassan had won 97.66 percent of Wednesday's vote, dominating every constituency.

State media said a swearing-in ceremony would take place later on Saturday. The election for president and parliament set off days of violent protests as demonstrators took to the streets of major cities to protest against the barring or prevention of Hassan's main rivals from running and what they described as widespread repression.

Despite a heavy security presence,...