A shocked couple looked out of their window to see a newborn baby girl abandoned on a bench outside their block of flats.
The tiny infant was wrapped in a blanket and left on the communal seat in Hailesland Park in Edinburgh's Wester Hailes area.
The residents spotted the baby at around 1pm, and police raced to the scene shortly after.
Chief Inspector Richard Thomas told the Scottish Sun that the little girl was fine despite her ordeal.
"Doctors believe she is no more than 24 hours old. The baby appears to have been full term and has suffered no harm," he said.
Officers said they believed the baby had been on the bench for no more than 30 minutes, and had been washed before she was left. They have now begun house-to-house enquiries to try and find her mum, who they fear may have delivered her without any medical assistance.
The little girl is now 'doing well' at Edinburgh's Royal Infirmary.
"Now we are happy the baby is receiving treatment, the priority is that the mother seeks medical attention," Chief Inspector Richard Thomas said.
"She may have hidden the pregnancy. We just want to make sure she is safe and well. That would be the end of our involvement."
He added that social services would work to ensure the 'best outcome for child and mother' and that the little girl's mum does not have to come forward to the police, but can visit a doctor or hospital in confidence.