Istanbul, Turkey CNN  — 

A court order, requested by Turkish authorities, has resulted in the blocking of Twitter and YouTube in Turkey, a government official told CNN. Authorities say they ordered the blocks because the sites did not remove photos and other content from a March 31 hostage situation at Istanbul’s central courthouse.

The order blocked at least 166 websites that shared the images.

During last week’s siege, the two gunmen and the prosecutor they reportedly took hostage died in a shootout with police after authorities stormed the courthouse.

Turkish authorities moved to stop newspapers from printing images of the incident.