"Curb Your Enthusiasm" actor/comedian Larry David said he was taken aback by discovering ancestors who owned slaves in antebellum Alabama, according to a story by USA Today.

Henry Louis Gates Jr. -- the Harvard professor and host of PBS' "Finding Your Roots" -- said he's been trying to get David on his show for years, and he'll finally appear on tonight's season premier. The show traces the ancestral roots of celebrities.

Those roots had more than one interesting surprise for David.

"I was shocked. I was completely blown away." - Larry David receives surprising news about his ancestry on the season premiere of #FindingYourRoots on 10/03 @ 8/7c on @PBS! Read more via @USATODAY: https://t.co/WUaSg3iP6H — Henry Louis Gates Jr (@HenryLouisGates) September 27, 2017

An arm of his family apparently settled in what is now the Birmingham area, according to a story by The Associated Press, during the 1840s. His great-grandfather owned two slaves and fought for the Confederacy.

David, who plays Vermont Sen. Bernie Sanders on Saturday Night Live, also found out he is actually related to Sanders.

Guests on this season's "Finding Your Roots" also include Scarlett Johansson, Sean Combs, Amy Schumer, Garrison Keillor, Aziz Ansari and Christopher Walken.