Tanzania’s main opposition presidential candidate has said he will not accept the result of Wednesday’s election because of voting irregularities.

“Whatever happened yesterday was not an election,” Tundu Lissu told journalists in the main city Dar es Salaam.

Responding to earlier criticisms, the electoral commission said on Wednesday that the accusations were unfounded.

Mr Lissu was one of 14 candidates challenging President John Magufuli whose party has governed for decades.

Admired by some for his no-nonsense approach, Mr Magufuli’s first term was marred by allegations from rights groups that he was restricting democratic freedoms.

A handful of results have been released so far, giving Mr Magufuli and his CCM party a strong lead.

As well as taking part in the Tanzanian elections, voters on the semi-autonomous archipelago of Zanzibar were also electing their own president, and the CCM candidate Hussein Mwinyi has been declared the winner with 76% of the votes.

His main rival, Maalim Seif Sharif of ACT-Wazalendo got 19% – his biggest defeat in any presidential election that he has taken part in.

Earlier in the day, Mr Seif Sharif was arrested shortly after saying that the polls had been rigged and calling for mass protests.

On Wednesday, the head of the National Electoral Commission dismissed the claims of electoral fraud. Semistocles Kaijage said allegations of fake ballot papers were unsubstantiated.

On both Tuesday and Wednesday, internet users reported that WhatsApp and Twitter, among other phone apps, had been blocked.

Voting itself was calm and peaceful on the mainland after reports of violence on Zanzibar on Tuesday

“This was not an election by both Tanzanian and international laws. It was just a gang of people who have just decided to misuse state machinery to cling to power,” Mr Lissu, the candidate for the Chadema party, said.

He alleged that many of his party’s agents were prevented from entering polling stations for several hours, when rigging took place.

He also urged the international community to denounce the poll and sanction those he accused of bungling the electoral process.