LOS ANGELES ( KTLA) -- Veteran actor Steve Landesberg, best known for his role in the 1970s TV cop comedy series "Barney Miller," has died.

Landesberg died of cancer Monday at the age of 65, according to his agent.

Landesberg played the intellectual and sometimes annoying Detective Arthur Dietrich on the long-running cop series.

He also appeared in dozens of recent TV shows, including "Everybody Hates Chris," "Just Jordan," "That 70s Show" and "American Dad."

"He was a wonderful comic and superb actor who gave so much of himself in every performance," said Shirley Jones, who appeared opposite Landesberg in what was one of his final appearances, an episode of "The Cleaner" last year.

Landesberg's other TV credits included "The Rockford Files," "Two Guys, a Girl and a Pizza Place," "Cosby," "Law and Order" and "The Golden Girls."