A 21-year-old man who got involved in the Bradford riots just eight days after being given bail by a judge has been jailed for 40 months.

Bradford Crown Court heard yesterday that Mamrez Hussain was already facing a drugs charge when he was caught on police video footage throwing missiles, shouting abuse at officers and breaking up a large piece of stone.

Passing sentence, Judge Roger Scott noted that he had extended Hussain's bail following a hearing in relation to the drugs offence in June last year and he described that as a seriously aggravating feature of his case. The video footage showing Hussain's activities late that night only covered a period of about 11 minutes, but Judge Scott said he had decided that he was "enjoying himself".

"Those 11 minutes show you in the midst of a mob of people, shouting, screaming and hurling abuse," he said.

"Hurling missiles, picking up implements... as far as you are concerned you were in the thick of it and you must take responsibility, as you have done by your plea, for the actions not only of yourself but also others."

Hussain, of Bishop Street, Bradford, was jailed for a total of 22 months in November last year after he admitted possessing heroin with intent to supply and he pleaded guilty to the riot charge earlier this month.

Judge Scott indicated that if he was being sentenced for the riot offence alone he could have received a jail term of four years and six months, but as he had to take account of the overall sentence he would serve he had decided that 40 months was appropriate.

The 40-month sentence will follow the 22-month term Hussain is already serving.

Barrister Ayaz Khasi, for Hussain, said the most powerful piece of mitigation was his guilty plea.

He asked Judge Scott to take account of the fact that Hussain, who also had a previous conviction for wounding, was still a relatively young man and appeared to be making good progress while in custody.