David Margulies, who played the Mayor of New York in the Ghostbusters films and Tony Soprano’s classy lawyer Neil Mink, died Monday afternoon in New York City after a long illness. His death was confirmed to Deadline by his longtime agent Mary Harden. He was 78 years old and recently finished filming his role as Nobel laureate Elie Wiesel in the upcoming ABC miniseries Madoff with Richard Dreyfuss, scheduled to air February 3.

Margulies was memorable character actor with a camera-ready visage combining soft-edged jowliness and intense eyes that could change from flintily serious to the-joke’s-on-you charm in a flicker. He  first drew notice in Woody Allen’s 1976 The Front. But millions of filmgoers will recall Margulies for his character-defining line from Mayor Lenny Clotch (an obvious tribute to the real New York Mayor, Ed Koch) in Ghostbusters II: “Being miserable and treating people like dirt is every New Yorker’s God-given right.”

Other film appearances include A Most Violent Year, The Girl On The Train and Ace Ventura: Pet Detective. He was a regular on most of the police procedurals filmed in New York and many other television series.

Margulies was an admired and much-loved veteran of Broadway and off-Broadway as well: His 1973 Broadway debut was playing Hugo Kalmar in Ted Mann’s production of O’Neill’s The Iceman Cometh at Circle in the Square, and he later appeared with John Lithgow and Jonathan Pryce in Comedians, Neil Simon’s Brighton Beach Memoirs, Tony Kushner’s epic Angels In America (as Roy Cohn), A Thousand Clowns45 Seconds From Broadway and Wonderful Town.

Born February 19, 1937, in Brooklyn and a graduate of City College of New York, Margulies’ stage career began in the 1950s. His off- and off-off-Broadway performances were too many to count but every one of them memorable; what comes immediately to mind were his turns in Amy Herzog’s After The Revolution in 2010 at Playwrights Horizons and, in 2011, a revival of Kushner’s adaptation of Corneille’s The Illusion at the Signature Theatre. His final stage appearance was in the 2013 Playwrights Realm off-off-Broadway production of Lauren Yee’s The Hatmaker’s Wife.