In 1963–1964, he appeared as the wandering gold-seeker father, "Doc" Sardius McPheeters, in the ABC western series The Travels of Jaimie McPheeters with co-star Kurt Russell as Doc's son, Jaimie. On another ABC series, The Long, Hot Summer, O'Herlihy became the lead star, having replaced Edmond O'Brien in the part of Will Varner midway through the program's one-season run. In 1966, he appeared in the episode "Have You Seen the Aurora Borealis?" of NBC's western series The Road West, starring Barry Sullivan. In 1974 he appeared in QB VII, and played the Senior American Officer, Col. Max Dodd in the second series of BBC's POW drama Colditz. Hawaii Five O 1975. In 1976, he guest-starred in an episode of NBC's dramatic series Gibbsville. In 1978, he guest starred in the second part of the Battlestar Galactica episode "Gun on Ice Planet Zero" as Dr. Ravishol. O'Herlihy also portrayed the ill-fated lumber tycoon Andrew Packard in the cult television program Twin Peaks (1991), and in the Batman: The Animated Series episode "Deep Freeze", voicing the villainous theme park mogul Grant Walker. In 1998, O'Herlihy acted in his last film, The Rat Pack, playing Joseph P. Kennedy.