On Monday, a 16-year-old high school student was seriously injured with a machete in front of the François Mauriac Bastide high school in Bordeaux.
Since then, the investigation has progressed.
According to France Bleu, one of the two alleged attackers was arrested and brought to trial on Saturday before the juvenile prosecutor's office after 48 hours in police custody.
This 15-year-old had filmed the scene.
He was indicted for complicity in assault.
He is prohibited from approaching the victim and his accomplice and will have to follow an educational measure of reparation.
The author of the machete blows is still wanted.