Trent was homeless.

Early in the investigation, police posted surveillance video to YouTube showing two minors walking down the street.

Authorities identified one of the adolescents, a 16-year-old already in jail on unrelated charges.  He led police to Townsend, according to detectives.

Police then questioned Townsend who they said admitted to being in the video and to shooting Trent one time in the head.

The Sheriff's Office said neither the teen or Townsend knew Trent and that the killing was a random act of violence.  Police said robbery, or any other crime, was not a motive.

Townsend, according to reports, had been arrested in the past on burglary charges .

Townsend is not the first 12-year-old to face murder charges in Jacksonville.

In 2013, Jacksonville's youngest murder suspect, Cristian Fernandez, pleaded guilty to manslaughter in the death of his 2-year-old brother.

Investigators said Fernandez, 12 at the time of the attack, beat his younger brother to death in 2011.

Doctors said Fernandez's brother, David Galarriago, suffered more than a dozen strikes to his head.  He lost consciousness and died days after the beating.

Fernandez will be held in a juvenile jail until he turns 19.  He will then be placed on eight years of probation.  He faces up to 15 years in prison as an adult if he violates his probation.

His mother, Biannela Susana, pleaded guilty to aggravated manslaughter for her role in her child's death.  She received a suspended sentence of 10 years in prison.