In the very first episode of “The West Wing,” some of the president’s advisers engage in a heated argument with a group of Christian activists. Among the advisers are two of the show’s most prominent Jewish characters: White House Communications Director Toby Ziegler (played by Richard Schiff) and the Deputy Chief of Staff Josh Lyman (played by Bradley Whitford).

One of the Christian lobbyists — who had recently clashed with Josh on national television — accuses the White House staff of employing a “New York sense of humor” and thinking they’re “so much smarter” than everyone else.

“She meant Jewish,” Toby says with a sarcastic grin, “When she said ‘New York sense of humor.’”

Now, some are interpreting Texas Sen. Ted Cruz’s invocation of “New York values” at Thursday night’s Republican presidential debate in a similar way.

Cruz accused Donald Trump, a New York City native whom he trails by about over 10 percentage points in national polls, of having such values during a night of sparring between the two candidates. He had made the accusation repeatedly in the week leading up to the debate.

“There are many, many wonderful working men and women in the state of New York. But everyone understands that the values in New York City are socially liberal, pro-abortion, pro-gay marriage and focus on money and the media,” Cruz said to the crowd at the Fox Business Network debate in South Carolina.

Trump came to New York’s defense, citing its response to the Sept. 11 attacks.

“When the World Trade Center came down, I saw something that no place on Earth could have handled more beautifully, more humanely than New York,” Trump said to applause. “We rebuilt downtown Manhattan, and everybody in the world watched and everybody in the world loved New York and loved New Yorkers.”