Burundi’s President Pierre Nkurunziza has returned to the capital Bajumbura in the wake of a failed coup attempt.
Mr Nkurunziza was in Tanzania when military leaders moved against his bid for a third term on Wednesday.
Three of the coup leaders have been arrested, though the main leader is still on the run.
The UN says more than 105,000 people have fled the country since unrest began in Burundi last month.
After returning from Tanzania, Mr Nkurunziza initially travelled to his northern hometown of Ngozi, before continuing to the presidential palace in Bujumbura.
In an address to the nation, he has linked demonstrations against his bid for a third term to the attempted coup.
He said that he would retaliate against anyone who launched an attack on Burundi, and that people would not be allowed to set fire to the country.
Report says the president arrived in the capital on Friday in a huge convoy and was met by supporters in party colours dancing and celebrating. But in areas of the city that don't support a third term bid, youths had barricaded roads and police were said to be firing on them.
Among the coup leaders arrested on Friday was renegade general and former Defence Minister Cyrille Ndayirukiye.
Security Minister Gabriel Nizigama said two police commissioners and about a dozen other police officers had also been detained after a brief exchange of fire at a house where they were hiding.
General Godefroid Niyombare, who announced the coup attempt on national radio on Wednesday, had not been arrested, though he told AFP news agency that he was planning to surrender, saying: "I hope they won't kill us."
The UN's human rights commission has warned against revenge attacks, saying it was "very concerned by developments in Burundi over the past two days."
Residents of Bujumbura spoke of an uneasy calm on Friday, following fighting between loyalist soldiers and supporters of General Niyombare on Thursday.
The unrest
Unrest started on 26 April, a day after the 51-year-old president said he would run for re-election in June.
Since then at least 25 people have been killed and tens of thousands have fled to Tanzania, Rwanda and the Democratic Republic of Congo.
Opponents said Mr Nkurunziza's bid contravened the constitution, which states a president can only be elected to two terms.
The president argued he was entitled to a third term because he was first appointed to the role by parliament in 2005, rather than elected.
His spokesman says that elections will continue as planned.