Friends and family of Karim Meskine gathered in mourning Tuesday as they remembered the B.C. youth who police say was beaten to death with a baseball bat in an unprovoked attack last week.

Meskine, 19, was attacked blocks from the 22nd Street SkyTrain station in New Westminster and was found unconscious by a passerby. He spent his final days in a coma before he was taken off life-support and died on Friday.

The prayer service remembering Meskine, held at a mosque in Surrey, happened at the same time as a bail hearing in New Westminster for the 16-year-old youth accused of killing him.

The teen, who cannot be named for legal reasons, was originally charged with aggravated assault, but the charges have been upgraded to second-degree murder.

In court, the accused's mother and father clutched hands as their son shuffled into the courtroom, made eye contact, wiped away tears and then bowed his head.

New Westminster attack - Karim Meskine - 2

Karim Meskine died in hospital Friday night, a day after his 19th birthday. (R.I.P. Karim page/Facebook)

The courtroom was quiet but for the voices of lawyers, and the youth barely looked above the edge of the prisoner's dock for most of the proceedings.

A publication ban covers the details of the bail hearing, but proceedings have been put over until next year and the youth will remain in custody for now.

The Crown has said that if the accused is convicted, prosecutors will ask that he be sentenced as an adult.

Police said Meskine did not know his attacker and it appears the attack was the result of a botched robbery.

The Youth Criminal Justice Act prohibits publishing the identity of the teen who has been charged in Meskine's death.