Magufuli was first elected in 2015 on a fiery anti-corruption stance which endeared him to a population weary of graft scandals.
A member of parliament since 1995, he held various cabinet portfolios, including livestock, fisheries and public works, where he earned the "Bulldozer" moniker.