A teenage boy charged with sexual assault following an alleged gang rape in western Sydney has been refused bail.

A 14-year-old girl was walking home from her friend’s house on Saturday night when she was attacked in a park at Doonside.

Police said a man approached the girl in Bill Colbourne Park at 11pm, forced her to the ground and sexually assaulted her.

The man’s five friends then allegedly took turns in an assault lasting 30 minutes.

On Thursday night, a 16-year-old boy turned up at Blacktown police station where he was charged with one count of sexual intercourse without consent.

The teen stayed in the cells as Parramatta Children’s Court briefly heard his matter on Friday morning.

He did not apply for bail and it was formally refused.

But his lawyer said he would make a bail application on February 21.

Court papers show the teen’s country of birth as Sudan.

The victim is believed to have a Pacific Islander background while all the alleged offenders are described as African in appearance.

With social media feeding fears of reprisals, there were concerns racial tensions would boil over between the ethnic groups in the area.

African and Pacific Islander community leaders and police took part in a unity walk through Blacktown on Thursday night.

Police say the victim is very traumatised and is being supported by family and friends.