Hamas has controlled Gaza for nearly a year .