The Hunting of the Snark (An Agony in 8 Fits) is a poem written by English writer Lewis Carroll. It is typically categorised as a nonsense poem. Written from 1874 to 1876, the poem borrows the setting, some creatures, and eight portmanteau words from Carroll's earlier poem "Jabberwocky" in his children's novel Through the Looking Glass (1871).