Opposition leaders decried the result as illegitimate, citing widespread irregularities, while Hassan celebrated in Dodoma, calling the outcome a testament to Tanzanians’ trust in leadership.