Josie and the Pussycats will take to the stage on The CW's “Riverdale” tomorrow to cover the song “Candy Girl (Sugar Sugar)” by Inner Circle, featuring Flo Rida, a song inspired by the 1969 pop hit “Sugar, Sugar” by The Archies. “Riverdale” star Ashleigh Murray will provide leading vocals for the song.

RELATED: Riverdale: The 5 Most Surprising Moments of the Series Premiere

“As if stepping into the shoes of a fiery icon like Josie wasn’t enough, I was gifted the opportunity to reimagine and rock out on the classic ‘Sugar, Sugar,’” Murray said in a press release. “And boy, was it sweet.”

The song “Sugar, Sugar” is intimately tied to the Archie Comics in-fiction universe. The song was originally written by Jeff Barry and Andy Kim in 1969, and sung by the fictional pop group The Archies, a band comprised of several teenage characters from the Archie Comics universe and stars of the “The Archie Show” cartoon series. The song was released on the band’s second album, “Everything’s Archie.”

Despite its cartoon roots, the song hit the top slot on the 1969 “Billboard” Hot 100 chart for four weeks in the United States, and held onto the number one spot on the United Kingdom Singles chart for eight weeks in a row. The song reasserted itself as a hit a year later when rhythm and blues legend Wilson Pickett released his own version.

RELATED: Stiff Competition Gives Riverdale A Soft Ratings Debut

Josie and the Pussycats, the band led by Murray that will perform “Candy Girl (Sugar, Sugar)” on the upcoming episode of “Riverdale,” is also a fictional band devised for the Archie Comics in-fiction universe. The band first debuted in comic book form in 1963 with “Josie and the Pussycats” #1. The series ran until 1982. Several one-shot issues saw intermittent release without an ongoing series. That is until recently, when the comic book series was reborn in September 2016 under the rebooted Archie Comics universe and helmed by Marguerite Bennett, Cameron DeOrdio and Audrey Mok.

Prior to the reboot, the Archie Comics universe had a rich musical history. The eponymous Archie Andrews served as lead guitarist and vocalist for The Archies, accompanied by Reggie, Jughead, Betty, Veronica and Hotdog, the mascot-conductor dog. The fictional band released seven albums between 1968 and 2008, including a greatest hits album in 1970 and a Christmas album in 2008.

RELATED: Riverdale: Episode Four Synopsis Opens More Mysteries

“Josie and the Pussycats” was eventually adapted into a Saturday morning cartoon series in 1970, and then into a live-action movie in 2001. The band released two albums. One was a soundtrack for the television show, while the other was a soundtrack for the movie adaptation.

Starring K.J. Apa as Archie Andrews, “Riverdale” airs Thursdays at 9 pm on The CW. The series also stars Cole Sprouse as Jughead Jones, Camila Mendes as Veronica Lodge, Lili Reinhart as Betty Cooper, Ross Butler as Reggie Mantle and more. “Breakfast Club” alum Molly Ringwald will also recur as Archie’s mother Mary.