This Oklahoma man says he really got shafted by the penal system.

Aptly named Dustin Lance says in a seminal $5 million lawsuit that prison officials refused to provide him medical treatment for his painful 91-hour erection.

Lance, 32, claimed he suffered permanent injury from his marathon uprising in December 2016 after staff at the Pittsburg County jail ignored his pleas for medical care and instead made fun of him, Tulsa World reported.

Lance claims he was given a pill by another inmate, and the next morning, he told jail staff he was suffering “unbearable pain” from an erection that refused to go down, the outlet said.

Jail personnel repeatedly mocked Lance, while denying him medical treatment for four days, the suit claims.

When he was finally taken to a hospital, doctors said they were unable to treat him and he needed to be sent to a urologist immediately. Instead, jail staff brought him back to the pen and decided to release him on his own recognizance.

The lawsuit, filed Oct. 10, lists a slew of defendants, including the Pittsburg County Sheriff, three deputies and a nurse. County officials are trying to dismiss the lawsuit over a clerical error.

Lance was originally arrested for burglary and possession of a controlled substance and prosecutors later dismissed his felony charges, reducing his crime to a misdemeanor, so he won’t be doing any hard time.