A rogue faction of the Venezuelan police attacked the country’s Supreme Court in Caracas on Tuesday, dropping grenades from a helicopter, government officials said. It was a rare uprising by government personnel in a country that has been on edge from mass protests and economic crises.

A video shot from a window and posted on Twitter shows a helicopter swooping in a circle around a building as explosions are heard.

Another video posted on social media on Tuesday showed a uniformed man identified as Oscar Pérez, flanked by masked, heavily armed men in uniforms, taking responsibility for the operation. The speaker said he represented a coalition of military, police and civilian personnel who opposed what he called “this transitional, criminal government.”

“We are nationalists, patriots and institutionalists,” the man said. “This fight is not against other state security forces. It is against the impunity imposed by this government. It is against tyranny. It is against the death of young people fighting for their legitimate rights.”