Madrid city hall apologized Monday to parents for exposing their children to a violent puppet show, but says jailing the puppeteers for allegedly praising terrorism was disproportionate.

Puppeteers Alfonso Lazaro de la Fuente and Raul Garcia Perez were detained without possibility of bail on Friday for using a sign saying, "Long Live Alka ETA," in a word-play reference to Spain's armed Basque group ETA and al-Qaida.

The satirical theatre piece entitled, The Witch and Don Cristobal, also featured the hanging of a judge's effigy, the stabbing of a nun with a crucifix and police beatings, prompting parents attending with children to complain. The show was commissioned by the city as part of Carnival celebrations.

.<a href="https://twitter.com/elespanolcom">@elespanolcom</a> Marionetas de "La Bruja y Don Cristóbal. A cada cerdo le llega su San Martín" ¿Teatro infantil? <a href="https://t.co/GVTvP4EjJH">pic.twitter.com/GVTvP4EjJH</a> —@silvia0907

On Saturday, a judge charged them with "glorifying terrorism."

Madrid Mayor Manuela Carmena, 71, said the show's content was "offensive" and inappropriate for children, but that jailing the puppeteers without bail was incomprehensible.

Praising terrorism has been a crime in Spain since 1995.

Carmena, a retired judge, said the town hall had made a serious error by being unaware of the show's content and advertising it as suitable for all ages. She said there would be an investigation.

2 spanish puppets show men jailed in Madrid on <a href="https://twitter.com/hashtag/ETA?src=hash">#ETA</a> advocate accusations. <a href="https://twitter.com/hashtag/Spain?src=hash">#Spain</a> is the real puppet show.<a href="https://twitter.com/amnesty">@amnesty</a> <a href="https://t.co/BzvuD8ZML6">pic.twitter.com/BzvuD8ZML6</a> —@markooss

City hall initially presented a legal complaint against the puppeteers, but was now studying withdrawing it.

Spain's Terrorism Victims Association said Monday it was taking legal action against the puppeteers, the mayor and the city's cultural councilor, Celia Mayer.

Spain's acting ruling conservative Popular Party called for Mayer's dismissal.

Mayer said in a statement the attacks were part of a campaign to discredit Carmena's leftist city government. Carmena became Madrid's first left-wing mayor in 24 years on taking office in June.

Friends of the two puppeteers told Spanish media that the pair had not known children would be present for the show, which was not intended as children's entertainment.