He was in fact too young to join the army but attached himself to a unit fighting counter revolutionaries in Vendée.
The boy's death was seized on as a propaganda opportunity by Robespierre, who praised him at the Convention's tribune saying that "only the French have thirteen-year-old heroes".