He was a descendant of James Hamlin who had lived in the Massachusetts Bay Colony in 1639 . He was a descendant in the sixth generation of James Hamlin who had settled in the Massachusetts Bay Colony in 1639 .