The delegates of Libya's rival governments are heading back to their home bases to consult on proposals made during three days of U.N.-sponsored talks.

The talks for the oil-rich nation wracked by rival militias, a government in the east and another in the west, have been given added urgency by the rise of the radical Islamist State group.

Delegates met with U.N. representative to Libya Bernardino Leon for three days in separate rooms to discuss security arrangements, including moving militias out of the cities and airports and the shape of a national unity government.

U.N. spokesman Samir Ghattas says proposals will now be presented to the respective governments and the talks will reconvene by mid-week.

Despite U.N. calls for calm, violence continued in the country during the talks.