Original: He later changed his name to "Hawthorne", adding a "w" to dissociate from relatives including John Hathorne, a judge during the Salem Witch Trials.
Simplified: John was the great-grandfather of Nathaniel, though.