A court heard the boy was 11 years old when he took part in the Harehills disorder on July 18.