An Indiana woman has been arrested on a child neglect charge, accused of locking her 5-year-old son in a running washing machine.

Doctors found the boy slipping in and out of consciousness when he arrived at a hospital in wet underwear with his father on Aug. 16, when the incident took place, Fox 59 Indianapolis reported, citing court documents.

The doctors also said the boy had sustained bruises and scratches to his upper body, the station reported.

INDIANA MOM WHO INJECTED FECES INTO SON'S IV DURING CANCER TREATMENTS SENTENCED TO 7 YEARS

After a police investigation, the boy’s mother, Heather Oliver, 30, of Elwood, was charged Dec. 19 with child neglect resulting in bodily injury, according to the Indianapolis Star.

She was released the next day on bond.

According to the court documents, the boy’s father told police Oliver called him to say that their son was stuck in the washing machine while it was running, Fox 59 reported.

PENNSYLVANIA MOM CHARGED WITH MURDER IN HANGING DEATHS OF HER TWO CHILDREN

The man told police Oliver was his girlfriend.

The court documents say Oliver told police the boy had locked himself inside the washing machine, the station reported.

According to the station, she heard it running from the kitchen and thought it was odd.

The court documents say that when she went to check, she saw the washing machine filling with water, saw her son and pulled him out, the station said.

CLICK HERE TO GET THE FOX NEWS APP

Police said they spoke to the washing machine’s manufacturer, Lucky Goldstar, which disputed Oliver’s explanation of what happened, per Fox 59.