GREENSBURG, Pa. (AP) — A Pennsylvania man has been jailed on charges he sold heroin in the hospital maternity ward room where people were visiting his newborn daughter.

Twenty-five-year-old Cody Hulse was arraigned Friday on charges including heroin delivery and endangering the welfare of children. The Tribune-Review reports he declined to comment afterward.

READ MORE: Sheriff: Suspect Admits To Pointing Gun At Neighbor During Argument

Authorities say Hulse got busted after Greensburg police stopped a vehicle Thursday and found heroin and paraphernalia. The occupants told police they had just bought the drugs from Hulse at Excela Health Westmoreland Hospital.

READ MORE: 14-Year-Old Girl Left With Life-Threatening Injuries In Antelope Shooting

Police say they went to the maternity room and confronted Hulse, who acknowledged selling the drugs and who had heroin in his pocket.

Police say Hulse’s girlfriend, the baby’s mother, told them she didn’t know about the drug deals.

MORE NEWS: Smoking Solution? California Bill Would Eliminate Litter Left Behind By Smokers

Online court records don’t list a defense attorney.