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 ) .
The poem was written from 1874 to 1876 . The setting , some creatures , and eight portmanteau words are taken from Carroll 's earlier poem `` Jabberwocky '' in his children 's novel `` Through the Looking-Glass '' ( 1871 ) .