Ancestry.com has traced the family roots of U.S. President Barack Obama and found that he is the 10th cousin of former Alaska governor and vice presidential candidate Sarah Palin and conservative radio host Rush Limbaugh.

Obama and Palin are 10th cousins through a common ancestor, John Smith, a pastor and early settler of the U.S. Obama and Limbaugh are also related through Richmond Terrell, a large landowner in Virginia in the 17th century.

"Obama is related to Smith through his mother, as is Palin," Ancestry.com genealogist Anastasia Tyler was quoted as saying by the Associated Press.

Obama and former president George W. Bush are also 11th cousins, according to the website.

Palin is related to Bush while Senate Majority Leader Harry Reid and conservative commentator Ann Coulter are her distant cousins.