The two main rebel groups in Sudan's war-torn region of Darfur have agreed to stop attacking each other.
The rebels accused the government of ignoring Darfur
Clashes between the Sudan Liberation Army and the Justice and Equality Movement have hampered efforts to reach a deal with the government.
The two groups also agreed to free prisoners and use dialogue to resolve disputes in future.
Two years of conflict in Darfur has forced more than 2m people from their homes and left at least 180,000 dead.
The agreement was signed in Libya by SLA leader Abdelwahid Mohamed el Nur and his Jem counterpart Khalil Ibrahim.
The two groups and the government agreed earlier this month on a framework for a peace deal.
Further talks are due next month.
The conflict began in 2003, when the two groups took up arms, accusing the government of ignoring the black African residents of Darfur.
The government denies accusations that it backs Arab militias, accused of widespread atrocities against civilians.