Tanzania remains gripped by the aftermath of its worst post-election violence in decades, a crisis that has shaken its long-standing reputation as a beacon of peace and stability in Africa.

It has also earned the country rare rebukes from regional and continental organisations.

In a defiant inauguration speech on Monday, President Samia Suluhu Hassan said the election was fair and transparent but acknowledged people had died during the protests. She blamed foreign actors for the deadly protests.

The death toll is not clear but families continue to search for or bury relatives killed following the recent disputed poll, that Samia won with 98% of the vote.

Samia, the soft-spoken leader whose calm and gentle demeanour, initially inspired optimism when she assumed power in 2021 after the sudden death in office of her authoritarian predecessor, John Magufuli.

But that has now changed.

Samia has pushed Tanzania to its thick winter of protests, instability and uncertainty, Prof Peter Kagwanja, a Kenyan policy analyst, told the BBC.

The protests, organised by young people, drew clear parallels with global Gen Z-led mobilisations against entrenched leadership and unresponsive governments.

Analysts say while the unrest was unprecedented for Tanzania, it was preceded by a tense political climate marked by stalled reforms, years of simmering youth anger, power tussles within the ruling party and the sustained persecution of opposition leaders.

The protests were just a culmination of years of anger and grievances that have been bottled in by Tanzanians, Godfrey Mwampembwa, a Tanzanian-born political cartoonist, popularly known as Gado, said.

Gado's satirical cartoons depicting President Samia as authoritarian and intolerant of political competition, have been circulated widely on social media.

Veteran Tanzanian journalist Jenerali Ulimwengu described in a column how the recent election was the boiling point reached by societal soups that have been cooking for decades in a slow cooker without being noticed by an absent-minded rulership, totally submerged in the middle of its gravy train.

Similar sentiments were shared by Gado, who accused the ruling Chama Cha Mapinduzi (CCM) party of burying its head in the sand and being tone-deaf to Tanzanians' growing calls for change.

CCM has over the years disenfranchised the masses and disregarded the very state institutions that keep it in power, said the satirist, who is based in neighbouring Kenya but has been closely following events in his home country.

Charles Onyango-Obbo, political commentator on East African matters, agrees that the CCM had long mistaken calm for maturity, but it was only age and arrogance hiding behind a glorious history.

But it is the nature of this latest election that has exposed a shocking new side of Tanzania, a country long seen as protest-shy, especially when compared with neighbouring Kenya.

In the months preceding election day, the CCM government worked to systematically eliminate any credible competition, according to analysts.

The two main opposition leaders were blocked from contesting the poll - Tundu Lissu is in detention on treason charges, which he denies, while Luhaga Mpina's candidacy was rejected on technical grounds.

According to Prof Kagwanja, that act alone negated what Tanzania and its founding President Julius Nyerere stood for.

You don't jail your opponents; you seek to get support from people against the opposition, said Prof Kagwanja.

Fondly known as Mama Samia, the 65-year-old president is now facing mounting accusations of heading a repressive government responsible for violently crushing historic protests.

Her approach to leadership was initially admired both at home and abroad as she allowed opposition parties to organise rallies and criticise the government without the fear of grave repercussions.

Having been born and raised in Zanzibar, a semi-autonomous archipelago known for humility and hospitality, it was unsurprising that Samia inspired a sense of relief when she assumed power in 2021.

But analysts say that as Samia set her eyes on a second term, she started seeing internal party pressure within the CCM and the resurgence of the opposition as threats to her ambition.

For the last three years, she had reshuffled the cabinet multiple times and replaced military and intelligence chiefs, in moves seen as weeding out loyalists of her predecessor.

Hundreds may have died in post-election unrest according to the opposition. The authorities are yet to release an official death toll.

The violence was shocking for a nation that had cultivated an image of calm, consensus, and order for nearly six decades.

As she begins to serve her second term in office, analysts say Samia is facing mounting international scrutiny which could undermine her legitimacy to lead the East African country.