A total of 1,715 people appeared in court over violent riots that took place in several English cities in August, according to U.K. government figures out Thursday.

The Ministry of Justice figures -- which include cases up until midday on Sept. 12 -- show 90 percent of those in court on riot-related charges were male and most were young.

Some 21 percent were aged between 10 and 17, 31 percent between 18 and 20 and just 6 percent over 40. Almost three quarters -- 73 percent -- had a previous conviction or caution.

Meanwhile, a survey out Thursday revealed that most people in the U.K. thought those responsible for the riots --which started in London before spreading to other urban centers -- should fix the damage they caused rather than go to jail.

A poll of 1,000 members of the public showed that more than 90 percent wanted rioters to repair damage and face their victims rather than go to prison.

The survey came as Facebook, Twitter and Blackberry representatives were due to give evidence to U.K. lawmakers as part of an inquiry into the riots.

The Home Affairs Select Committee is investigating the causes of and response to the rioting and is set to question bosses on the role social media played in the disorder.

Riots broke out in London on Aug. 6 before spreading to other English cities including Manchester, Birmingham, Nottingham and Liverpool. During days of looting, violence, arson and disorder, police made more than 2,000 arrests.