Varietyreports that the Seinfeld co-creator learned of the family links when he was taking part in the PBS program Finding Your Roots, in which celebrities discover previously-unknown branches of their family trees.

“I was very happy about that,” the comedian said during an appearance Wednesday at the Television Critics Association press tour, where he was promoting the upcoming return of his HBO series Curb Your Enthusiasm. He didn’t say in detail how he and Sanders are connected, telling the audience that the former presidential candidate is “a third cousin or something.”

David also talked at length about how his SNL stint as the Vermont senator came to be. “During the first debate between Bernie and Hillary [Clinton], Lorne Michaels (the creator of SNL) got emails and calls during the debate, saying that I should be doing Bernie Sanders,” he told the audience.

The Brief Newsletter

Sign up to receive the top stories you need to know right now. View Sample