Rebel forces halted their advance on Bangui, the capital of the Central African Republic, on Wednesday and said they were prepared to enter into peace talks with the government.

The announcement, made by rebel spokesmen, heralded the possibility of a peaceful resolution to a conflict that has driven thousands of civilians from their homes and into the dense Central African forest, seeking refuge from the violence that has accompanied similar uprisings in recent years.

President François Bozizé has in recent days declared his willingness to negotiate, and peace talks are already being planned in nearby Gabon, though the government gave no official response to the rebels’ negotiation offer. In a separate development, Mr. Bozizé announced in a radio address on Wednesday that he had fired his son from his post as defense minister and would fill that position himself. Mr. Bozizé has criticized the army for failing to contain the rebel uprising.

As a precondition to talks, the rebels have demanded that government forces stop arresting members of the Gula tribe, from which many rebels hail, said Col. Djouma Narkoyo, a rebel spokesman. In negotiations, the rebels would insist upon the departure of Mr. Bozizé, another spokesman said.