'Riverdale' saying goodbye to Luke Perry in his final episode Wednesday

Perry portrayed Fred Andrews on the show until his sudden death in March.

"Riverdale" will officially say goodbye to Luke Perry's character on Wednesday, according to the show's creator, Roberto Aguirre-Sacasa.

He tweeted Monday, "This week's #Riverdale is the last episode Luke filmed. As always, Fred's imparting words of wisdom to Archie. A beautiful, true moment between a father and his son. Wish these scenes could go on forever..."

Perry portrayed Fred Andrews, the father of the show’s star character, Archie Andrews, played by K.J. Apa, until his sudden death from a stroke in March at age 52.

Aguirre-Sacasa also spoke about Perry's passing at an Academy of Television Arts & Sciences event in March.

"Luke was, is, and will always be a big part of 'Riverdale,'" he told Entertainment Tonight. "We’re kind of a family and when a loss like this happens, you carry it always. It changes and it hopefully becomes a little less painful as time goes by, but you’re changed."

"Riverdale" airs Wednesday at 8 p.m. ET on the CW.