A homeless veteran has died nearly eight months after surveillance video showed him being brutally beaten by a group of people at a Philadelphia gas station.

Robert Barnes, 51, was beaten into a coma during the vicious April 7 attack at a Sunoco gas station in the city’s Olney section.

He died Wednesday at a hospital, the Associated Press reported Friday.

Barnes was pumping gas at the station for spare change.

Police said Barnes was beaten after a 10-year-old boy falsely told his mother that Barnes had hit him, The Philadelphia Inquirer reported Friday.

That prompted the boy's mother, two other women and three juveniles to drive to the gas station and beat Barnes with a hammer and a wooden rocking chair leg, the paper reported.

Barnes' skull was fractured, and he was left in a vegetative state after the attack, his family said, according to the paper.

Charges have been brought against the juveniles and the women, including the boy’s mother, Aleathea Gillard, 34.

Prosecutors have said the charges could be upgraded to murder if Barnes died.

The Associated Press contributed to this report.