NEW YORK (CBSNewYork/AP) — Democratic presidential candidate Bernie Sanders has made a cameo appearance on “Saturday Night Live” with Larry David, the comic who has done a dead-on impersonation of him.

But “SNL” resisted the temptation to have the Vermont U.S. senator appear next to David as he was playing him. Sanders portrayed a passenger on an endangered ship who argued with David about who should be allowed on a lifeboat.

Sanders spoke about the 1 percent getting preferential treatment aboard the Titanic, CBS2’s Weijia Jiang reported.

“Enough is enough,” Sanders said. “We need to work together and unite if we’re going to get through this.”

David said he should be on the lifeboat because he was richer than everybody else. Sanders appeared and said he was sick of the 1 percent getting all of the advantages.

David replied: “Sounds like socialism to me.”

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)