Police have arrested a 39-year-old woman in connection with the premature baby that was left in a trash bag behind a Jersey City building Saturday afternoon.

Hudson County Acting Prosecutor Gaetano T. Gregory says Rosibel Christina Lanza, of Jersey City, was arrested late Wednesday and charged with endangering the welfare of a child and child abuse. Lanza faces a maximum penalty of 10 years in prison.

Detectives say Lanza gave birth to the baby boy in her home on Aug. 31, and then placed the baby in a plastic shopping bag with paper towels and toilet paper. The bag was tied and left behind an apartment building at 30 Kensington Ave.

Three children heard a child crying while they were playing in a courtyard area on Kensington Avenue. They told the building's superintendent, who then called the police.

The Hudson County prosecutor says the baby boy, believed to be three months premature, is stable in the neonatal ICU of Jersey City Medical Center.

Lanza's brother, Melvin Lanza, told News 12 New Jersey the family was unaware of the pregnancy.

Lanza made her first court appearance Thursday.

New Jersey has a Safe Haven law in effect, which allows women to drop off a child at a police station or hospital to avoid prosecution.