Four Chadian rebel groups have sealed a peace agreement with the government, three weeks after negotiating the preliminary deal.
Libyan leader Colonel Muammar Gaddafi hosted the talks alongside the presidents of
The insurgent groups have waged an on-off rebellion against Chadian President Idriss Deby for years.
The fighting was linked to the conflict plaguing the neighboring Sudanese region of
The UN says there are 240,000 refugees from
'Guaranteed'
Col Gaddafi was quoted by AP news agency as saying: "I hope this is the last stage in the peace process in
The deal was signed in the Libyan city of
Under the deal, the parties agreed to an immediate ceasefire, an amnesty for civil and military personnel and the release of all prisoners.
The rebels were granted the right to form political parties and to join the military and security forces.
The accord comes weeks before the planned deployment in
The BBC's Stephanie Hancock in N'Djamena says the peacekeepers' mission is a daunting one.
Major General Pat Nash, the force's operational commander, says troops will be there to protect humanitarians and those displaced by fighting, not to get involved in internal politics.
"This is not a force that is coming in to subjugate anybody. This is a force that is coming in to be a deterrent essentially. We will not become involved in the internal affairs of either country. That is not my mandate," he told the BBC.
BBC correspondent says there have been concerns about the force's very strict mandate.
But General Nash stood firm on the issue.
"My situation is primarily to deal with refugees and internal displaced people. I am not going into a preventive situation.
"I would only be in a reactive situation where people were being attacked," he said.
PHOTO CAPTION
Chadian troops