The upcoming Season 4 premiere of Riverdale will be a tribute to late Luke Perry, and the prolific actor's friend and former co-star Shannen Doherty will make an appearance in an unknown role to pay her respects.

While appearing at a Television Critics Association panel for The CW series in August, Doherty revealed she approached Perry's family and manager for permission to appear on the Archie Comics adaptation, without divulging who she would be appearing as.

RELATED: Riverdale Covers Luke Perry's Death, New Scandals in Season 4 Trailer

"I spoke to certain family members and they were behind it," she explained. "Luke's manager Steve [Himber] was very supportive, and I went into it knowing that I was being supported by everyone that really mattered to Luke. And knowing that it was a show that he had been trying to get me on since Day 1 [laughs], it was like this really beautiful moment."

Perry and Doherty co-starred on Beverly Hills, 90210 in the 1990s, becoming close friends on-set. Perry would go on to star on Riverdale as Archie's father Fred Andrews before passing away from complications after suffering a stroke in April late into production on Season 3.

RELATED: Riverdale Teases a 'Dark Family Secret' Coming to Light for Cheryl Blossom

"It was extremely hard in the sense of the emotions, but I feel really proud and honored and extremely humbled that they asked me and I got to be a part of it," Dohertyadmitted.

Returning to The CW on Wednesday, Oct. 9 at 8 p.m. EST, Riverdale stars KJ Apa, Lili Reinhart, Camila Mendes, Cole Sprouse, Madelaine Petsch, Casey Cott, Mark Consuelos, Skeet Ulrich, Marisol Nichols and Madchen Amick.

(via USA Today)