Judge Frank Caprio, who is known for his heartwarming viral court moments, has died. He was 88.

According to a statement shared on his official Facebook page, the former Providence, Rhode Island, judge "passed away peacefully at the age of 88 after a long and courageous battle with pancreatic cancer."

"Beloved for his compassion, humility, and unwavering belief in the goodness of people, Judge Caprio touched the lives of millions through his work in the courtroom and beyond," the statement continued. "His warmth, humor, and kindness left an indelible mark on all who knew him."

The statement went on and said that he "will be remembered not only as a respected judge, but as a devoted husband, father, grandfather, great grandfather and friend. His legacy lives on in the countless acts of kindness he inspired. In his honor, may we strive to bring a little more compassion into the world -- just as he did every day."

Many may know Caprio from his TV show, "Caught in Providence," in which clips from the series have gone viral on social media.

Caprio became known as the "nicest judge in the world" for his compassion in the courtroom and the leniency he provided to those who needed it most.

The show aired in 2000 and earned four Daytime Emmy nominations.