how did hamas come in power in gaza?

how did hamas come in power in gaza?

¦

.