An outbreak of fighting south of the Libyan capital which killed at least four people stopped on Tuesday after local elders agreed a ceasefire, Reuters journalists in the area said.
The conflict, a flare-up of an old rivalry between the provincial town of Zintan and the neighbouring El-Mashasha tribe, underlined the tension and insecurity in Libya after the overthrow of leader Muammar Gaddafi.
Reuters journalists in the town of Wamis, about 190 km (120 miles) from Tripoli, on Monday saw damage to buildings caused by rocket or artillery fire which local people said had been directed on their town from Zintan.
On a visit to the town on Tuesday, there was no sign of any fighting. A local leader, Ibrahim Masood, said a committee of elders the day before had agreed a ceasefire and the release of prisoners by both sides.
"Our first aim is Libya and to stop the killing of Libyans," he said.
Fighters from Zintan played a vital role in forcing Gaddafi's forces out of Tripoli. Militias from the town are now among the most powerful forces in the country.
The head of Zintan's town council said the clash with the El-Mashasha tribe was a "misunderstanding". Officials in the town said members of the tribe had killed several residents of Zintan earlier this week.