Larry David, who played a convincing Sen. Bernie Sanders Bernie SandersJacobin editor: Primarying Schumer would force him to fight Trump's SCOTUS nominee Trump campaign plays up Biden's skills ahead of Cleveland debate: 'He's actually quite good' Young voters backing Biden by 2:1 margin: poll MORE on “Saturday Night Live” last year, is actually related to the Vermont senator.

In an upcoming episode of "Finding Your Roots," a PBS program in which celebrities learn more about their lineage and history, David learns he has genealogical ties to the senator and former presidential candidate, CNN reported on Thursday.

David revealed the discovery on Wednesday at a panel for "Curb Your Enthusiasm" at the Television Critics Association summer press tour.

ADVERTISEMENT

David said he was "very happy" to learn about his connection to the Vermont senator.

"I thought there must be some connection," he said. "I love Bernie."

David couldn't remember exactly how the two are related, but said Sanders was "like a third cousin or something."

Sanders joked about his resemblance to the actor during a CNN town hall last year, quipping: “I am Larry David.”

"Anderson, I know you've been in journalism for a long time," Sanders said to anchor Anderson Cooper. "I am Larry David."