Updated

A man in Pennsylvania was arrested after he reportedly admitted to selling heroin in a hospital the day his newborn daughter was born.

Greensburg police were tipped off to the illegal activity on Thursday after they pulled over a car that had heroin and drug paraphernalia inside, according to Fox 5 DC.

People in the car reportedly told authorities that they had just bought the drugs from Cody Hulse, the newborn’s 25-year-old father, who was at Excela Health Westmoreland hospital.

TRAIN SEVERS LIMBS OF WOMAN, 1-YEAR-OLD SON IN GEORGIA

Police found Hulse in the baby’s room at the hospital and he admitted to dealing the drugs, CBS Philly said. He reportedly had 34 bags of heroin and other drug paraphernalia in his pocket at the time, police said.

The baby’s mother reportedly told authorities she didn’t know her boyfriend was selling drugs, Fox 5 DC reported.

Hulse was arraigned in court on Friday and charged with heroin delivery and endangering the welfare of children.