Palestine's two main factions have signed a unity agreement in Cairo, ending a four year rift.

Fatah refused to recognise Hamas' election victory in 2007.

The deal paves the way for a joint interim government ahead of national elections next year.