Rebels and the government in the Central African Republic have agreed to form a unity government, with President Francois Bozize remaining in power.
Margaret Vogt, the United Nations' representative in the C.A.R, outlined the agreement Friday after the sides reached their agreement in Gabon's capital, Libreville.
She says the agreement calls for Mr. Bozize to stay until the end of his term in 2016, with the opposition naming a prime minister who will run a transitional government.
She said neither the prime minister nor President Bozize would be eligible to run in the next presidential election.
Rebels in the C.A.R. have seized one-third of the country's territory since beginning an uprising a month ago. The rebels accuse the president of failing to carry out previous peace agreements in 2007 and 2008.
The rebels had announced a one-week ceasefire on Thursday.