Sign up for our COVID-19 newsletter to stay up-to-date on the latest coronavirus news throughout New York City

A Brooklyn man who attacked a 5-year-old boy riding the train with his mother last month was arrested on Thursday, police said.

Ramon Thomas, 25, was charged with second-degree assault after he allegedly punched the boy as the train was approaching Bergen Street, police said.

The little boy and his mom were on a southbound G train just before 4:30 p.m. on March 24 when Thomas attacked and then taunted his young victim, police said.

Thomas, who has one prior arrest earlier this year, then ran off the train once it got to the Cobble Hill station and fled.

The victim was taken to NYU Langone Health Cobble Hill where he was treated for bruising and swelling to the left side of his face, and released.