The youngest person to be charged over last summer's riots in Bradford has been locked up for nine months.
The 14-year-old, who cannot be named for legal reasons, threw stones at police officers during the violent clashes.
More than 300 officers were injured and £27 million of damage was caused during the rioting.
Yesterday the youth - who admitted violent disorder - was given an 18-month detention and training order, half of which will be spent in custody.
Charles McRay, prosecuting, told the city's Youth Court that the youth became caught up in large-scale disturbances which followed an Anti-Nazi League rally in the city centre.
He was caught on video picking up stones and hurling them at the police lines. He was arrested later that night and claimed: "I just got carried away with the crowd."
Mr McRay said the youth told police he went into the city centre to meet his girlfriend, but she was not there so he joined a crowd in Centenary Square which was waiting for the National Front to arrive.
Later, he was with people who were running up towards Kirkgate Market He added that "everybody" then went to White Abbey Road, where a "major riot" began.
In mitigation, solicitor Javed Arshad told the court: "He does condemn the amount of violence that day against police officers. He just acted on impulse.
"He is very immature and easily led."
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article