SYDNEY, Australia (JTA) – The Sydney Morning Herald apologized “unreservedly” for publishing a cartoon that Jewish leaders called “crudely anti-Semitic.”

Jewish leaders had threatened legal action if the daily did not publish an apology for the July 26 cartoon by Glen Le Lievre.

The cartoon depicted a hook-nosed Jewish man wearing a kippah and sitting on an armchair emblazoned with a Star of David pressing a remote control to detonate buildings, presumably in Gaza.

“The Herald now appreciates that, in using the Star of David and the kippah in the cartoon, the newspaper invoked an inappropriate element of religion, rather than nationhood, and made a serious error of judgment,” its editors wrote in Monday’s edition. “It was wrong to publish the cartoon in its original form. We apologize unreservedly for this lapse, and the anguish and distress that has been caused.”

Hours before the apology was issued, an estimated 5,000 pro-Israel supporters filled a suburban Sydney park on Sunday, while a “flash mob” of Jewish youth simulated a 15-second siren in the heart of Melbourne.

The park near Bondi Beach was a sea of Israeli and Australian flags mixed with dozens of placards, including “Israel has no choice” and “Stop the rockets.”

Some of the Australian media had failed to guard against “biased, distorted, inaccurate and simply erroneous coverage and commentary,” Robert Goot, president of the Executive Council of Australian Jewry, said at the park rally. He also told the crowd that the cartoon was “unquestionably anti-Semitic.”

In Melbourne, up to 500 Jews hit the ground as a siren went off in Federation Square. The protest was inspired by a similar stunt last month in Vienna, according to Asher Kozma, the head of the Betar movement in Melbourne.

“We were trying to give Australian people an idea of what it’s like to live in Israel,” Kozma said.

Also Sunday, several hundred people joined a pro-Israel rally in Brisbane, according to reports.