The CW is bringing together Nancy Drews, young and old.

The network's untitled Nancy Drew pilot is adding Pamela Sue Martin, who played the teen sleuth in "The Hardy Boys/Nancy Drew Mysteries," which ran from 1977 to 1979 on ABC.

She'll appear opposite newcomer Kennedy McMann as the new Nancy Drew.

The show follows Nancy after high school graduation, when a family tragedy delays her departure for college. Then, she finds herself embroiled in a ghostly murder investigation — and along the way, uncovers secrets that run deeper than she ever imagined.

Freddie Prinze Jr. has been cast as Nancy's estranged dad.

Martin will play Harriet Grosset, a small-town psychic who offers to help Nancy investigate a murder — and ends up delivering an otherworldly clue that neither of them bargained for.

It's unknown if Martin could recur on the series in multiple episodes.

This isn't the first time The CW has paid homage to a previous incarnation of a character. On "The Flash," John Wesley Shipp, who played the character in the 1990 series, is Barry Allen’s father.