Nathaniel Hawthorne ( born Nathaniel Hathorne , July 4 , 1804 â `` May 19 , 1864 ) was an American novelist and short story writer . He was born in Salem , Massachusetts . Nathaniel Hawthorne was born on July 4 , 1804 , in Salem , Massachusetts ; his birthplace is preserved and open to the public .