Hamas took power in Gaza when ?
Palestinians have been shooting Qassam rockets at Israeli settlements located near the Gaza borders , and have staged cross-border raids aimed at killing or capturing Israeli soldiers .