Palestinian Prime Minister Rami Hamdallah holds hands with Hamas's leader in Gaza, Ismail Haniyeh

Hamas and Fatah have signed a reconciliation deal in Cairo, ending a decade-long rift between the two Palestinian factions.

The deal is believed to cover security, administrative and border crossing arrangements in the Gaza Strip.

Egypt has been brokering the reconciliation talks in Cairo.

Palestinians in Gaza and the West Bank have been ruled separately since deadly clashes between the two groups broke out in 2007.

Hamas won parliamentary elections in the occupied territories the previous year, and reinforced its power in Gaza after ousting Fatah from the enclave.