The Adventures of Tom Sawyer, published by the American Publishing Company in December 1876, was Mark Twain's first novel about a boy growing up along the Mississippi River. Set in the 1840s in the fictional town of St. Petersburg (based on Hannibal, Missouri, where Twain lived as a boy), the novel follows the adventures of Tom Sawyer and his friend Huckleberry Finn. Twain wrote the book while living in Hartford, Connecticut, incorporating memories from his childhood and establishing what would become one of America's most enduring literary classics.