Three 13-year-old boys have been arrested on suspicion of assaulting a 12-year-old boy after a video was posted online.
The footage showed two boys attacking the victim.
West Yorkshire Police said the boys are all from the Heaton area in Bradford,
Two of the boys have been charged with attempted robbery and assault.
Both were released on bail and are expected to appear at Bradford Youth Court.
The third boy was released on bail pending further enquiries.
Det Ch Insp Terry Long, of Bradford Police, said: “Thankfully a member of the public has reported the Facebook video posting of the assault which occurred in early May 2015.
“It was not reported to the police at the time. We don’t believe the attack to be racially motived.
“The police in Bradford will not tolerate incidents of this type and we will respond quickly and professionally.”