The last Palestinian legislative election was held in 2006 when Hamas scored a surprise victory, which laid the ground for a political rupture. Hamas and Fatah fought a short civil war in Gaza in 2007 and since then Hamas has governed the small coastal enclave.
Numerous attempts since 2011 to reconcile the two movements and form a power-sharing unity government in Gaza and the West Bank have so far failed. Hamas and Fatah agreed in 2014 to form a national reconciliation government, but despite that agreement, Hamas's shadow government has continued to rule the Gaza Strip.
Hamas said in a statement on Sunday that it has dissolved its shadow government, that it will allow the reconciliation government to operate in Gaza and that it agrees to hold elections and enter talks with Fatah.