- Bambari city is in the hands of United Nations peacekeepers and national security forces, the UN said.
- The attacks followed government accusations that ex-president Francois Bozize was plotting a coup with armed groups ahead of the elections.
- Civilians had not been attacked, but the police station, gendarmerie and some homes had been ransacked.
The Central African Republic's fourth-largest town, which was seized by rebels on Tuesday ahead of elections this weekend, is in the hands of United Nations peacekeepers and national security forces, the UN said.
"The situation in Bambari is under control," Abdoulaziz Fall, spokesperson for the UN peacekeeping mission MINUSCA, told a press conference in the CAR capital Bangui on Wednesday.
"The civilians are starting to return. The armed groups have been pushed back into the bush."
The attacks followed government accusations at the weekend that ex-president Francois Bozize was plotting a coup with armed groups ahead of presidential and legislative elections next Sunday.
At the CAR's request, Russia and Rwanda have sent "hundreds" of military personnel to support the troubled country, the government says, an account confirmed by those countries.
Bambari is located 380 kilometres northeast of Bangui.
Members of a militia called Unity for Peace in Central Africa (UPC) overran the town on Tuesday after a two-hour firefight with MINUSCA, sources said.
Its mayor said on Tuesday that civilians had not been attacked, but the police station, gendarmerie and some homes had been ransacked.
The CAR is one of the poorest and most unstable countries in the world, experiencing only rare moments of peace since it became independent from France in 1960.
Bozize came to power in a coup in 2003 before he himself was overthrown in 2013, in a conflict that largely mirrored the CAR's sectarian divisions.
The 74-year-old former general slipped back into the country in December 2019 after years in exile, sparking fears of a comeback.
Bozize retains a large following, especially among the Gbaya ethnic group, the country's largest, and has many supporters in the army.
He denies the allegations of an attempted coup.
He has been barred from contesting Sunday's elections by the CAR's top court as he is the target of a 2014 arrest warrant for alleged murder and torture and is under UN sanctions.
His absence has left the incumbent, Faustin-Archange Touadera, 63, as the clear frontrunner in the 17-strong field of presidential candidates.
But Touadera's government remains weak and the armed forces are poorly-equipped and -trained and remain heavily dependent on MINUSCA.
Despite a peace deal between the government and armed groups in February 2019, the country remains wracked by violence.
Militias hold sway over two-thirds of the territory, deriving income from mining and forced payments at roadblocks and on traders.
Thousands of people have died in the last seven years, and nearly a quarter of the population of 4.7 million have fled their homes.
Do you want to know more about this topic? Sign up for one of News24's 33 newsletters to receive the information you want in your inbox. Special newsletters are available to subscribers.