Article will continue after advertisement

MILWAUKEE, Wis. – Two judges are bonded together forever after a kidney transplant.

According to the Milwaukee Journal Sentinel, Municipal Court Judge Derek Mosley was diagnosed with end-stage renal disease in 2014. Mosley says kidney disease runs in his family. It killed his father and grandmother.

Since the diagnosis, he has been undergoing dialysis for 10 hours every night.

“I was hooked up on my machine at night,” Mosley told ABC News. “Essentially you’re sleeping on your back, on a straight back in a straight line… it wasn’t a fun two years.”

When his friend, Municipal Court Judge JoAnn Eiring, heard he needed a kidney, she didn’t hesitate to get tested. Turns out, she was a perfect match.

“This just proves that no matter what your think about color or background or economic status  or all those things, here’s this woman from Brookfield and this kid from the south side of Chicago and I’m about to get her kidney so I can live,” said Mosley. “And we are as compatible as anything else. To me, it’s just amazing.”

Mosley and Eiring met in 2003 and have been good friends ever since. The two often get lunch together and babysit each other’s kids.

The pair underwent surgery last week and are now both doing well. Mosley said he immediately felt better after the surgery was over.

When he saw Eiring after the surgery, he was overcome with emotion.

“I completely lost it and I started crying because she literally gave me back my life,” said Mosley. “There’s no way you could repay that.”