Robert Walker Jr., best known for a classic early Star Trek episode and as the son of Hollywood stars Robert Walker and Jennifer Jones, died Thursday in Malibu, according to family members. He was 79.

The New York native portrayed the twitchy, callow title character in “Charlie X,” the second episode of Star Trek’s pioneering first season in 1966, and also handled the title role of the notable 1960s feature films Ensign Pulver and Young Billy Young.

LEONARD GOLDBERG DIES: VETERAN FILM & TV EXEC AND ‘BLUE BLOODS’ & ‘CHARLIE’S ANGELS’ CREATOR WAS 85

For Ensign Pulver, the comedic 1964 naval drama, Walker inherited a role that had earned Jack Lemmon an Oscar for best supporting actor for Mister Roberts (1955). In the 1969 gunfighter tale Young Billy Young, Walker was the volatile outlaw who finds a mentor in Robert Mitchum in film that also featured Angie Dickinson and David Carradine. That same year Walker and his wife, Ellie Wood, appeared together in the milestone counter-culture epic Easy Rider.

Walker’s other big-screen credits include The Hook (1963), with Kirk Douglas;  The Ceremony (1963), with Laurence Harvey;  The War Wagon (1967), with John Wayne; Killers Three (1968), with Dick Clark; and Road to Salina (1970), with Rita Hayworth.

Robert Walker, Jr. as Charlie Evans in the STAR TREK episode, "Charlie X." Season 1, episode, 2. Original air date, September 15, 1966. (CBS via Getty Images)

On television his career spanned 20 years and his many credits included roles on Route 66, Ben Casey, Combat!, Bonanza, The Time Tunnel, The Six Million Dollar Man, Quincy, M.E.,Charlie’s Angels, Columbo, CHiPs, L.A. Law, and Murder, She Wrote.

HOLLYWOOD AND FANS PAY TRIBUTE TO ‘WILL & GRACE’S SHELLEY MORRISON

It was his role in Federation space, however, that earned Walker his most lasting screen legacy. Walker was 26 when he played the callow 17-year-old Charlie Evans, aka Charlie X, on the second episode of Gene Roddenberry’s sci-fi series for NBC. The petulant Charlie came aboard the USS Enterprise as a rescued castaway who survived 14 solitary years amid the wreckage of a downed transport ship.  The memorable episode, penned by D.C. Fontana, takes a dark turn when the orphaned teen’s dangerous secret and formidable mental powers are revealed.

JOAN STALEY DIES: ‘THE GHOST AND MR. CHICKEN’ & ’77 SUNSET STRIP’ ACTRESS WAS 79

Walker was born in Queens in April of 1940, the year after his father (best remembered as Alfred Hitchcock’s off-kilter killer in the 1951 classic Strangers on a Train) and his mother (the Academy Award-winner from The Song of Bernadette in 1943) were married. The marriage ended in 1945. Four years later, the youngster got a powerful stepfather when Jones married David O. Selznick, the Hollywood titan who produced Gone with the Wind and Rebecca.

This story originally appeared in Deadline