A newborn boy is safe after being found in a trash bin in Miami.

Authorities say the child was apparently only an hour or so old.

He was found in a trash bin Monday night when a janitor taking out the trash heard the baby crying. The boy's umbilical cord was still attached.

The child appeared to be health but was taken to a hospital to be monitored.

Florida's Safe Haven law was passed in 2000 in response to a rash of babies left to die in canals and trash bins.

The law allows a parent to surrender a newborn, no questions asked, to any hospital emergency room, open fire station or other facility capable of providing emergency care.