An Indianapolis woman said she gave birth in a warehouse restroom and expected the newborn boy to die after she dumped him in a garbage can and returned to her work station, according to court documents, The Associated Press reported.

A Marion County judge entered a preliminary not guilty plea Wednesday for 22-year-old Briana Holland on charges including attempted murder and child neglect, the AP reported.

Police said they arrested Holland after her co-workers at the warehouse on the west side of Indianapolis found the newborn Friday night, according to the AP. The baby's head was covered in a bag, part of a tampon applicator was inside his mouth and toilet paper was wrapped around his neck, according to the AP.

Indiana has a safe haven law that allows people to give up custody of infants less than 30 days old to a hospital emergency room, police or fire station, according to the AP. A fire station is located across the street from the warehouse where Holland worked.

Court documents said Holland told a detective she was scared and couldn't afford to care for her son, according to a police affidavit, the AP reported. The affidavit said when the detective asked Holland what she thought would happen to the baby she replied: "I know what the results would probably be. It would probably die."

The baby, who is in the custody of child welfare officials, was purple, cold and gasping for air when the co-workers found in the trash can, court documents said, according to the AP. The workers and a nurse at the warehouse cared for the boy until medics arrived and took him to a hospital.

Holland's boyfriend told police that she had kept her pregnancy secret from her family and hadn't received any prenatal care, the AP reported. He said he found out about her giving birth on Twitter and intends to seek custody of the child, the affidavit said.