A Utah mother was sentenced to prison Monday in connection with the death of her 2-year-old son, who died last year after allegedly being beaten over a potty training incident, KTLA sister station KSTU reported.

James Sieger Jr. is show in a photo posted to Facebook by his father, James Sieger, who learned of the abuse after his son was taken to the hospital on May 9, 2015.

Jasmine Ruth Bridgeman was sentenced to serve up to 15 years in prison, according to the Salt Lake City-area television station. She pleaded guilty to a charge of obstruction of justice, a second degree felony, on March 14.

Two-year-old James Sieger Jr. was found unresponsive and covered in bruises when he arrived at Davis County hospital in May 9, 2015.

The boy, who suffered severe internal injuries, died following several surgeries, according to KSTU.

His mother, 24-year-old Jasmine Bridgeman, and her boyfriend, 35-year-old Joshua Schoenenberger, were later taken into custody on suspicion of child abuse, KSTU reported.

Jasmine Bridgeman and Joshua Schoenenberger are each scene in their booking photos. (Credit: KSTU)

According to court documents, the boy had been abused by the pair at Shoenenberger’s home.

Some of the abuse was a result of attempts to potty train the toddler, the documents stated.

Citing jail documents, KUTV reported that the boy defecated in his diaper and the couple became furious, even taking the diaper off and smearing it in his face.

Documents stated Schoenenberger continued to beat the boy while Bridgeman went outside and smoked a cigarette.

“The biological mother did allow significant amount of abuse to go on without intervening, but also engaged in it herself,” said Lt. Travis Lyman of the Layton City Police Department.

Schoenenberger pleaded not guilty Monday to aggravated murder and felony child abuse, the station reported.