A former high-ranking guard at a federal prison in Virginia has been sentenced to three years in prison for failing to help an inmate who suffered a medical emergency and later died, the Justice Department announced Tuesday.

Michael Anderson, 52, was a lieutenant at a medium-security prison in Petersburg. He was the second-highest ranking officer there during several hours when the inmate's health crisis took place in 2021.

The inmate, identified only as W.W., exhibited sudden symptoms that included incoherence and the inability to stand, according to court filings by federal prosecutors. He continuously fell inside his cell and later in a suicide-watch cell.

NEW YORK CORRECTIONS OFFICER ARRESTED AFTER ALLEGEDLY FORCING INMATE TO PERFORM SEXUAL ACT

He later fell headfirst into a doorframe, according to prosecutors.

"As W.W. laid alone on the floor, naked and covered in bruises and abrasions, no correctional officer responded to his medical emergency or otherwise rendered aid to W.W. for nearly an hour and forty minutes," prosecutors wrote.

Virginia crime graphic

A former guard at a Virginia prison has been sentenced for failing to assist an inmate having a medical episode, which later proved fatal.

W.W. died of blunt force trauma to the head, according to prosecutors. A medical examiner said he would have lived if he had "been hospitalized and examined at any point in his ordeal."

The man's cellmate, correctional officers and suicide watch observers had notified prison supervisors and asked for help, prosecutors wrote. They said Anderson was one of the supervisors who failed to act.

DEREK CHAUVIN STABBED BY INMATE IN FEDERAL PRISON, SERIOUSLY INJURED: REPORT

Anderson pleaded guilty in July to one count of deprivation of civil rights. Prosecutors asked for a sentence of nearly five years to nearly six years in prison, which fell within the guideline range.

Anderson's attorney, Jessica Richardson, wrote in a court filing that Anderson clearly failed to act, but the inmate's death "was a collaborative failure on the part of multiple staff members."

She noted Anderson's stellar record and lack of any disciplinary issues over many years.

CLICK HERE TO GET THE FOX NEWS APP

"This is a man that made a huge mistake, with devastating consequences, one that he has taken accountability and responsibility for," Richardson wrote.