When Hamas scored a landslide victory in 2006, the stage was set for a bitter power-struggle with Fatah.
Hamas resisted all efforts to get it to sign up to previous Palestinian agreements with Israel, as well as to recognise Israel's legitimacy and to renounce violence