An Egyptian court has acquitted 26 men arrested in a televised raid last month by police looking for gays at a Cairo public bathhouse.

The trial, which had caused an uproar among activists and rights groups, captured public attention after a pro-government TV network aired scenes of half-naked men being pulled from the bathhouse by police.

The men faced various charges, including debauchery and performing indecent public acts. Monday's verdict came after only three hearings, during which families quarrelled with journalists who tried to photograph their relatives in the dock.

Rights activists say 2014 was the worst year in a decade for Egypt's gay community, with at least 150 men arrested or put on trial.

"They destroyed our lives. God rescued us," said one of the defendants, who did not give his name to protect his privacy.

The trial opened only two weeks after the December 7 raid on the bathhouse, or hammam.

Five of the defendants in Monday's trial - the owner of the bathhouse and four staff members - were tried for facilitating debauchery in exchange for money.

In the official charges, the prosecutor said the investigation revealed the owner and the staff ran the bathhouse as a place for "parties of debauchery, orgies among male homosexuals in exchange for money." The rest of the defendants were charged with practising debauchery and "indecent public acts."

There are no laws in Egypt criminalising homosexuality but a decades' old law criminalising prostitution is often used in penalising the gay community.

Source: Agencies