(CNN) -- Steve Landesberg, best known for his role as a cerebral detective on the TV sitcom "Barney Miller," has died of cancer, his agent said. He was 65.

"Steve was a true 'Gentleman,' " Landesberg's agent Jeffrey Leavitt said late Monday, shortly after the actor's death. "Working with Steve was an honor both personally and professionally. ... He will be missed."

Landesberg played with deadpan delivery Detective Arthur Dietrich on "Barney Miller," an often infuriatingly intellectual member of a New York City police station in Greenwich Village, who toyed with those who crossed his path in the precinct. The series ran from 1975 to 1982.

In addition to his stint on the sitcom, Landesberg made guest appearances on a number of shows, including "Saturday Night Live," "The Golden Girls" and "Law & Order." He also appeared in the 2008 movie "Forgetting Sarah Marshall."

He is credited with the quote "Honesty is the best policy, but insanity is a better defense," according to WorldofQuotes.com.

CNN's Matthew Carey contributed to this report.

What are the answers to this following set of questions:

1. Who died?
2. What is he credited with?
3. What was he famous for?
4. How old was he?
5. What did he die from?
6. Was he famous for anything else?
7. For what?
8. How long did his show last for?
9. Was people honored to work with him?
10. Who stated they was?
11. When?
1. Steve Landesberg
2. A quote
3. His role as a detective on "Barney Miller."
4. 65
5. Cancer
6. Yes
7. Forgetting Sarah Marshall.
8. From 1975 to 1982.
9. Yes
10. Jeffrey Leavitt
11. Late Monday, shortly after the actor's death