Various fighting factions and the Syrian government reached a cease-fire agreement in a besieged Palestinian refugee camp in Damascus, activists and state media said.

If it holds, the agreement in the Yarmouk, the largest of nine Palestinian camps in Syria, could help ease the suffering of some 18,000 civilians who have been trapped there since the government imposed a blockade in mid-2013.

Previous agreements to end the fighting in Yarmouk have all collapsed.

The official SANA news agency said on Sunday the latest deal was sponsored by the Syrian government and the Palestinian Liberation Organisation.

The Britain-based Syrian Observatory for Human Rights also reported the ceasefire.

Under the agreement, heavy weapons are to be removed from the camp, barriers are to be taken down and an internal force is to be created to ensure security. The main entrances to the camp are to be opened, and infrastructure is to be restored.

The Observatory said rebel groups in the camp, as well as pro- and anti-Assad Palestinian factions are all party to the deal.

Earlier this year, the UN renewed calls for the Syria regime and rebels to allow food and medical aid into the Palestinian camp of Yarmouk. An estimated 18,000 people had been besieged inside the camp as the conflict in Syria continued.