An Egyptian court has sentenced seven men to life imprisonment for sexually harassing and attacking women during a number of public rallies in Cairo's Tahrir Square.

Wednesday verdicts are the first such heavy sentences against perpetrators of sexual violence after the government's decision to toughen penalties. The charges included attempted rape, attempted murder and torture.

The judge sentenced the seven men to life in prison. Three of them received multiple life sentences for taking part in different assaults. Another two men each received two 20-year sentences.

Live Box 201372283337894564

The men were to be placed on surveillance for five years once they finish their sentences. They were also ordered to pay financial compensation.

Sexual harassment has long been a problem in Egypt, but assaults have become more frequent and brutal over the past three years of turmoil, with frenzied mobs targeting women who take part in political gatherings.

The charges stemmed from four different incidents of sexual assault this year and last year, including one during celebrations of the inauguration of President Abdel-Fattah el-Sissi in June.

Videos of the brutal attacks posted online caused a public outcry, and pushed the new leader to make the highest profile condemnation of the escalating phenomenon and order a crackdown on perpetrators. A week later, 13 suspects were sent to trial in a speedy referral aimed to send a message of deterrence.

In one of his last decisions before stepping down in June, Adly Mansour, Egypt's interim president and el-Sissi's predecessor, decreed sexual harassment a crime punishable by up to five years in prison.

The decree amended the country's existing laws, which did not criminalise sexual harassment.

Source: Agencies