BEIRUT — An international music festival in Lebanon said Tuesday that it has cancelled a planned concert by a popular Mideast rock band whose lead singer is openly gay, apparently caving to pressure after weeklong calls by some Christian groups to pull the plug on the show, as well as online threats to stop it by force.

Festival organizers released a statement saying the “unprecedented step” of cancelling the performance by Mashrou’ Leila was done “to prevent bloodshed and maintain peace and stability.”

“We apologize for what happened, and apologize to the public,” it added.

Some church leaders and conservative politicians set off a storm of indignation on social media this week when they demanded that the Mashrou’ Leila concert be canceled, accusing the Lebanese group of blasphemy and saying some of its songs are an insult to Christianity. The band, known for its rousing music and lyrics challenging norms in the conservative Arab world, soon became the center of a heated debate about freedom of expression.

Online, some groups and users posted threats suggesting they would violently stop the concert.

The band released a statement saying it regretted the libel campaign and fabrications that led to the cancellation.

“Our respect for the beliefs of others is as solid as our respect for the right to be different,” it said.

“We have been tried on the streets, judged and convicted by anyone wishing. This is a departure from the logic of the state, one that strikes at the core of our sense of our safety and ability to be artistic and creative.”

RELATED: Lebanese rock band takes center stage in freedoms debate

Mashrou’ Leila was scheduled to perform in the coastal city of Byblos on Aug. 9, after two previous appearances at the annual Byblos International Festival. The other performances will still take place.

The cancellation triggered a storm of protests and a campaign of solidarity with the band on social media. Supporters described the cancellation as shameful, saying it set a dangerous precedent.

“This is a step back for Lebanon, which has always prided itself on embracing diversity and being a center for music, art and culture,” tweeted Aya Majzoub, a Lebanon researcher at Human Rights Watch.

Amnesty International said the decision to cancel the show was an “alarming indicator” of the deteriorating state of freedom of expression in Lebanon.

“This is the direct result of the government’s failure to take a strong stand against hatred and discrimination and to put in place the necessary measures to ensure the performance could go ahead,” Amnesty’s Middle East Research Director Lynn Maalouf said.

The band has been a champion of LGBT rights in the Arab world and regularly sings about controversial subjects such as sectarianism, corruption and other social and political problems.

They have previously been banned from performing in Jordan and Egypt, but censorship demands in more liberal Lebanon — where it has performed on numerous occasions — are new.

On Monday, dozens of Lebanese held a protest in downtown Beirut rejecting attempts by Christian clergymen and some right-wing groups to ban the ensemble.

“Regardless of our opinion of the songs and the band, we need to defend freedom of expression, because freedom is for everyone and for everybody. The day it stops, it stops for everybody,” said writer and director Lucien Bourjeily.

The band, whose name translates as “Night Project,” was founded 10 years ago by a group of architecture students at the American University of Beirut.

Riding on the wave of Arab Spring uprisings that swept the Middle East, the band was embraced by Arab youth who saw it as part of a cultural and social revolution. The band members have gone on to gain worldwide acclaim, performing in front of sold-out crowds in the United States, Berlin, London and Paris.

Crux is dedicated to smart, wired and independent reporting on the Vatican and worldwide Catholic Church. That kind of reporting doesn’t come cheap, and we need your support. You can help Crux by giving a small amount monthly, or with a onetime gift. Please remember, Crux is a for-profit organization, so contributions are not tax-deductible.