BUFFALO, N.Y. (WIVB) — A Buffalo man who used to work as a bus aide was sentenced to jail time for not properly supervising a nine-year-old child and in the process, hitting the student in the face with the child’s shoe.

Anthony Lanier was working for Western New York Bus Co. on Dec. 11, 2018, when the incident happened.

The child suffered an abrasion on the face.

Lanier, 34, pleaded guilty in April to a misdemeanor charge of attempted endangering the welfare of an incompetent person.

Lanier was also sentenced to three years on probation.