So this happened.

Hamas blocked journalists from filming a major protest against power cuts in the northern Gaza Strip on Thursday, detaining an Associated Press journalist at gunpoint and badly beating an Agence France-Presse photographer who refused to relinquish his camera.

The journalists sought to cover a demonstration against chronic electricity shortages in Gaza, which the AP described as “one of the largest unauthorized protests in the territory since the Islamic militant group took power a decade ago.”

“Hamas forces blocked journalists from filming the gathering, and an Associated Press journalist was briefly detained at gunpoint until he handed over his mobile phones to plainclothes security men,” the AP reported.

According to the Foreign Press Association, the Hamas men “stuck a pistol in his chest and verbally threatened the reporter until he agreed to give them the phones.”

In its statement, the association added that “an AFP photographer was badly beaten to the head by uniformed policemen [and] required medical care after he had refused to give up his camera. The memory card of his camera was confiscated and he was placed under arrest. He was subsequently released and the memory card was returned.”

A day before the protest, Hamas arrested a local comedian who made a viral video protesting the power outages.