A man has been charged with the murder of a nine-year-old girl who disappeared from the NSW Blue Mountains last week.
Police arrested 31-year-old Justin Stein at a Sydney, Surry Hills unit on Tuesday night, after police found the body of a child in a barrel while searching bushland near a stretch of the Colo River.
The remains are "consistent with the missing nine-year-old", Acting Commissioner Karen Webb has confirmed.
Stein appeared via video link in Sydney's Central Local Court on Wednesday where his lawyer asked magistrate Robert Williams for an order to "protect his personal safety".
Stein's lawyer said his client had been under long-term care for "mental health problems" and had been prescribed a fairly high dose of antipsychotic drugs quetiapine and risperidone for many years.
The magistrate said he would order Justice Health to assess Stein's mental health needs but his prison status was up to Corrective Service NSW.
The court was told the case, due back in court on March 18 in Penrith, involved some "complexities".
More than 100 people have been searching dense bushland for the little girl, who was reported missing on Friday.
The girl disappeared from the Wildenstein Private Gardens where she had been holidaying with family in Mount Wilson.
What we know about the case.
Mamamia is unable to continue naming the girl as she is an alleged victim of crime. NSW law prevents media from identifying underage victims of crime.
The girl, who resides in Queensland, was spending time with family in NSW when she disappeared. She was last seen on Thursday, and reported missing Friday morning at 8:20am.
A large-scale coordinated search operation began in the Blue Mountains area, consisting of over a hundred police and emergency personnel such as dog units, police helicopters and the SES.