LOS ANGELES – Steve Landesberg, a comic actor who played the intellectual Detective Arthur Dietrich in the long-running ABC sitcom “Barney Miller,” has died. He was believed to be 74.

Landesberg died early Monday at Cedars-Sinai Medical Center in Los Angeles, said his agent, Jeff Leavitt. No cause was given.

“Barney Miller” starred Hal Linden in the title role as a New York police captain managing his offbeat group of officers working in a Greenwich Village police station.

The show, which ran from 1975 to 1982, included Abe Vigoda as Detective Phil Fish, Ron Glass as Detective Ron Harris and Maxwell Gail as Detective Stanley “Wojo” Wojohowicz.

Landesberg joined the cast in 1976 as Dietrich, whom a Los Angeles Times reviewer once referred to as “infuriatingly cerebral.”

“I’m not really much like Dietrich,” he told The Washington Post in 1979. “He reads everything. Science, technology, economics. I have no interest in that stuff. … I try to play him as a cop. Intellectual and funny, but a good cop.”

Landesberg said police officers “tell me they know guys like Dietrich. … Most cops never fire their guns — that’s why they like our show.”

In the Post profile, Landesberg wouldn’t disclose his age, although public records say he was born in New York on Nov. 23, 1936.

Landesberg said he was quiet growing up. “And when I was in the service I was quiet, but in the barracks I’d get crazy,” he told the Alameda (Calif.) Times-Star in 2003. “And then one day I took it on stage.”

He started doing stand-up comedy in New York clubs in 1969, working on the same stages as David Brenner and Jimmie Walker.

“Before that I worked in a lot of hotels, as an assistant credit manager,” he told the Detroit Free Press in 1997. “That’s part clerk, cop and manager. To check out scam artists and bad credit cards, that was my early police training for playing a fictional cop.”

Landesberg made his first appearance on “The Tonight Show With Johnny Carson” in the early 1970s and became a familiar face on television.

His later roles included “Golden Girls” in 1991 and “That ’70s Show” in 2007. His most recent film role was as pediatrician Dr. Rosenbaum in the 2008 comedy “Forgetting Sarah Marshall” starring Jason Segel and Kristen Bell.

Landesberg also did commercials, including one for a truck company in 1985 where he met his wife, Nancy, a producer who survives him along with a daughter.