A Burundian general said on Wednesday he had deposed President Pierre Nkurunziza for seeking an unconstitutional third term in office and was forming a transitional government, after more than two weeks of protests against the re-election bid.

But as cheering crowds streamed onto the streets of Bujumbura, sporadic gunfire was heard in the centre of the capital, and it was not immediately clear how much support Major Gen. Godefroid Niyombare had.

With Nkurunziza having gone to Tanzania to discuss the crisis with East African leaders, the presidency dismissed the declaration by Niyombare, who had been fired as Nkurunziza's intelligence chief in February, saying on Facebook that the coup had been "foiled.