WESTMORELAND COUNTY (KDKA) — A couple in Westmoreland County is accused of locking their son in a bedroom closet and nailing the door shut.

According to the criminal complaint, Shawn and Tammy Jo Waulk went to a birthday party and left their 9-year-old son alone at their Unity Township home.

READ MORE: Pa. State System Of Higher Education Votes To Freeze Tuition For 3rd Straight Year

They allegedly put him in a closet and used a drill to screw in wood slats across the door so he could not escape.

(Photo Credit: KDKA)

Investigators say they left him in the closet while they were gone for 1 1/2 hours.

The Westmoreland County Children and Youth Services received a tip and alerted police.

According to the complaint, the boy told Children and Youth Services that he was locked in the closet on three other occasions.

READ MORE: FBI Arrests Pittsburgh Man For Allegedly Submitting Fake PPP Loan Applications

His parents used screws, nails, wood and a light cord to secure the door.

He told investigators he escaped one time and got into trouble.

The couple said they started using the closet as a time-out space and had recently secured the door to keep their son from escaping.

Investigators say Shawn Waulk admitted his son would not be able to escape the room if there was an emergency while they were away from their home.

MORE NEWS: Working From Home: Study Puts Pennsylvania Near The Middle For Best Work From Home States

The couple is charged with endangering the welfare of a child, false imprisonment and recklessly endangering the welfare of another person.