(CNN) - Actor Tom Hanks just found out Sunday that he's related to Fred Rogers, the man who played Mr. Rogers on the children's tv show.
The two are sixth cousins, Ancestry.com discovered. The actors share a fifth great grandfather, who immigrated to America from Germany in the 18th Century.
Hanks is portraying Rogers in the upcoming film, “A Beautiful Day in the Neighborhood.” He said he didn’t know they were related when he took the role.
“It’s a Beautiful Day in the Neighborhood” hits theaters on Nov. 22.