Updated

The United Nations envoy to Libya has told the U.N. Security Council that talks among Libya's rival groups are set for Jan. 5 after agreement was reached on a road map toward calming a conflict that has split the country.

Libya now has two governments, one that is internationally recognized and another backed by Islamist militias. The U.N. has warned that the violent chaos threatens the region's stability.

The current Security Council president, Chadian Ambassador Mahamat Cherif, spoke to reporters after Bernardino Leon's briefing Tuesday.

Cherif says the council urges the parties to accept an immediate cease-fire, and it is concerned about the flow of arms into Libya despite an arms embargo.

The U.N. says the fighting has killed hundreds of civilians and could lead to prosecution for war crimes.