Hamas took over the Gaza Strip after the Fatah–Hamas conflict that was after the 2006 Palestinian elections Israel said Hamas to be a terrorist movement. Egypt did not agree with Hamas removing the Palestinian Authority officials from Gaza.