The adorable canine who played Cheddar on Brooklyn Nine-Nine died aged 13.

Stewart the Corgi, famed for his famous role on the American sitcom died ‘on a California beach after a final meal of In-N-Out, the dog owner announced on Instagram.

The pooch spent his last day at the beach, where he was able to ‘frolic in the surf’ and eat at an In & Out Burger before his death. He is survived by his sister Stella.

Taking to Instagram, Stewart owner shared the heartbreaking news, saying:

“My precious Stewart crossed the rainbow bridge today.”

“We went to the beach (his favorite place) where he frolicked in the surf and then enjoyed a picnic lunch of In & Out burgers. We relaxed in the sun and just enjoyed each other’s company.”

“Our veterinarian met us there later, and Stewart went to sleep peacefully in my arms while listening to the sounds of the ocean.”

“He was a one in a million kind of dog. He was my supaah staah.”

Though small in stature, Cheddar, known as Captain Holt’s “cute secret weapon,” played a vital role in the Brooklyn Nine-Nine TV show.

In one of his more notable scenes, Stewart acted as the ring bearer at Jake (Andy Samberg) and Amy’s (Melissa Fumero) wedding, although he ended up passing out from eating the couple’s Nakatomi Plaza wedding cake.

The pooch trainer, Michael W. Miliotti, had previously taken to EW behind the scenes to reveal how Stewart’s days were like on set.

Miliotti revealed Stewart was a goofball, and he would repeat mistakes “over and over again just because he can get the laugh.”

Executive producer Dan Goor added that even when Stewart got in the way of a shot, nobody could get mad at him.

Goor said:

“In the episode where Gina and Terry try to boost Captain Holt’s social media presence by making Instagram pictures of Cheddar, there is a scene where Holt gives a moving speech filled with gravitas about honor and duty.”

“Every time he began that monologue, Cheddar, who was just off-screen, would let out a soft, unending howl, which cracked up everyone on set. Every time.”

It’s clear that Stewart left an unforgettable paw print on Brooklyn Nine-Nine and was really a beloved, not just by his family, but also the fans of the show far and wide.

After his death, one fun shared tribute on twitter:

“The dog who played Cheddar on B99 passed away, and I am SAD. RIP Stewart, you’re the goodest boi.”

While another wrote:

“Rest In Peace Cheddar, B99 won’t be the same without you.”