Tanzanian President Samia Suluhu Hassan is being sworn in shortly for a second term following an election marred by violent protests and rejected by the opposition as a sham.

The inauguration ceremony is being held at a military parade grounds in the capital, Dodoma, in an event closed to the public but broadcast live by the state-run TBC.

Samia was declared the winner on Saturday with 98% of the vote. She faced little opposition with key rival candidates either imprisoned or barred from running.

International observers have raised concerns about the transparency of the election and its violent aftermath, with hundreds of people reportedly killed and injured.

The authorities have sought to downplay the scale of the violence. It has been difficult to obtain information from the country or verify the death toll, amid a nationwide internet shutdown since election day.

In her victory speech, Samia claimed the poll was free and democratic and described the protesters as unpatriotic.

Opposition leaders and activists argue that hundreds were killed in clashes with security forces. The opposition Chadema party reported at least 800 deaths, while a diplomatic source indicated credible evidence of at least 500 fatalities.

The UN human rights office stated there were credible reports of at least 10 deaths in three cities.