WATCH: Bernie Sanders Appears Alongside Larry David on SNL

Sanders portrayed a passenger on an endangered ship who argued with David about who should be allowed on a lifeboat. David replied: 'Sounds like socialism to me.'

Bernie Sanders and Larry David on 'Saturday Night Live'
Twitter screenshot

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.

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."

"Democratic socialism," Sanders said.

Responded David: "What's the difference?"

"YUGE difference," Sanders replied, imitating how Trump often pronounces "huge" as though it begins with a Y.

Sanders said his name was Bernie Sanderswitzky but he was going to change it when he got to America so it wouldn't sound so Jewish. David suggested it wouldn't make much difference.

Later, Sanders stood beside David as he announced the show's musical guest, the 1975.

David had made two earlier appearances on "SNL" portraying Sanders in Democratic debate skits. He reprised his Sanders impersonation this time in a pre-filmed segment, "Bern Your Enthusiasm," which echoed David's character in the HBO comedy "Curb Your Enthusiasm."

David, playing Sanders, refused to shake a woman's hand at a campaign event because she had just coughed into it, and he denied a woman's request that he help pop her separated shoulder back into place so she could vote for him in the Iowa caucus. The people he slighted were then showed voting for Clinton in a caucus she won in real life by a razor-thin margin.