Egyptian authorities arrested seven people on Monday, who they accused of being gay and promoting homosexuality, according to officials who did not want to be named as they had not been authorized to speak to the media.

Read more: In Egypt, Islamic clerics give out edicts in the metro

The officials said the seven people arrested were responsible for raising the rainbow flag at a gig by popular Lebanese rock band Mashrou' Leila. They have apparently also been charged with "public indecency" and "inciting immorality among young people."

The rainbow flag symbolizes the Lesbian, Gay, Bisexual and Transgender (LGBT) movement.

Read more: Alaa al-Aswany: What should our attitude to the barbarians be?

Homosexuality is taboo in Egypt but it is not illegal to identify as gay nor is it expressly prohibited to "promote" homosexuality. Authorities, however, often use offenses such as blasphemy or "debauchery" to justify arresting homosexuals in a country that severaly limits free speech.

In April 2016, an Egyptian court sentenced 11 men to jail terms of up to 12 years after convicting them of "debauchery and incitement to debauchery," provoking international criticism.

Egypt's conservative musicians' union said Mashrou' Leila, whose singer Hamed Sinno is openly homosexual, would not be allowed to perform again in Egypt. The group has previously been banned from performing in the Jordanian capital, Amman.

ng/kms (AP, AFP)