A 15-year-old student has appeared before the Youth Court in Londonderry charged with committing seven public order offences during last month's Apprentice Boys parade.
The charges against him include possessing petrol bombs and throwing petrol bombs at police officers in the Bogside area of the city.
District judge Barney McElholm described the charges as very serious.
He released the teenager on bail to appear in court again next month.
As part of his bail conditions, the youth must not go within 200 metres of public order |incidents or bonfires.
He is also banned from unsupervised attendance in any public place with three or more people.
Separately, three juveniles — one aged 15 and the other two 16 — appeared at the same Youth Court charged with public order offences during disturbances in July in the Moss Park area of the city.
One of the youths is charged with possessing and throwing a petrol bomb.
He is further charged with riotous behaviour and attempting to cause criminal damage to a police vehicle.
The second juvenile is also charged with riotous behaviour and with attempting to criminally damage a police Land Rover.
The third youth is charged with possessing two petrol bombs and with riotous behaviour. All three were released on bail until next month.
At part of their bail conditions, they were banned from attending any bonfire site.