Los Angeles: Actor Luke Perry is gone. The American drama series Riverdale is to have Shannen Doherty -- Perry’s co-star in Beverly Hills 90210 -- to appear in the episode made as a tribute to Perry.

Doherty will appear in a guest role on season four premiere of The CW series. It has been scheduled for October 9, showrunner Roberto Aguirre-Sacasa announced Sunday at San Diego Comic-Con.

Perry, who was on the show for three seasons, died in March.

According to The Hollywood Reporter, Aguirre-Sacasa said he and Perry had planned to have Doherty on the show for "since season one".

"They were such good friends, and when we were putting together this tribute episode, we wanted to make it as special as possible, and so we asked Shannen to do a pivotal, super emotional role. She read the script and immediately said 'yes'. It's very impactful," he said.

The episode, titled “Chapter Fifty-Eight: In Memoriam", will see Doherty in a "special role".

The actor, who played Brenda, the love interest to Perry's Dylan, confirmed the news in an emotional Instagram post.

"I am deeply honored to pay tribute to Luke on 'Riverdale'. The care in which this show takes in honoring his memory is beautiful. He is missed. Today. Tomorrow. Forever," she captioned her photos with Perry.