A 12-year-old boy, who is the youngest to appear in court in relation to this summer's riots, has been handed a 12-month referral order.
The boy, who cannot be named for legal reasons, pleaded guilty to violent disorder last month in relation to the unrest on 30 July in Southport.
Liverpool Youth Court heard the youngster threw two stones at police officers, the day after a stabbing attack in the town in which three girls were killed.
As well as the referral order, the boy will be subject to a curfew between 21:00 and 07:00 each night for three months.
The court heard the boy was said to have gone to the scene outside the town's mosque because he was "curious" after seeing a fire.
District Judge Wendy Lloyd told the boy "it was an angry mob and you chose to be a part of it".
She added: "It was a really horrible situation and you made it all the more horrible by joining in and throwing stones."
A referral order is a sentence available to the courts when dealing with young people below the age of 18 who have admitted an offence.
It requires them to take part in a rehabilitation programme aimed at preventing them from offending in the future.