Tanzania has a history of free and fair elections, but now, as voters head to the polls to elect their next president, it's not so clear.
President John Magufuli, with the ruling Revolutionary party (CCM) is up for a second term. But the main opposition party leader, Tundu Lissu, with the Party for Democracy and Progress (Chadema), is giving him a fight. So much so that for months, the government has put restrictions on the opposition party.