This guy really got shafted.

A British man has been awarded more than $24,000 after going into a hospital for a bladder procedure — and coming out circumcised.

“It was a real surprise,” 70-year-old Terry Brazier told the Daily Star of the accidental snip at Leicester Royal Infirmary.

Brazier was supposed to get a cystoscopy, where Botox is injected into the bladder wall to help control incontinence, and was too busy chatting with staff to realize he was instead receiving the personal procedure, he told the UK paper.

“They didn’t know what to say when they found out they’d done it. They said they can’t send me back to the ward and they needed to talk to me,” he said. “I went in the surgery for some Botox and they ended up circumcising me.”

He was awarded more than $24,000 in compensation for the surgical screw-up that’s being blamed on staff mixing up their notes, according to the Guardian.

“We remain deeply and genuinely sorry that this mistake occurred, and I would like to take this opportunity to once again apologize to Mr. Brazier,” Andrew Furlong, medical director of the trust that runs the hospital in Leicester, told the paper.

“We take events like this very seriously and carried out a thorough investigation at the time to ensure that we learned from this incident and do all we can to avoid it happening again.

“Whilst money can never undo what happened, we hope this payment provides some compensation.”