Levi Lewis, of Brassie Wood, Chelmsford, appeared at Chelmsford Crown Court on 15 February where he pleaded guilty to attempted grievous bodily harm.
He returned to the same court on Friday 21 April, and a judge sentenced him to three years detention in a young offender institution.