Allan Quatermain is the protagonist of H. Rider Haggard's 1885 novel King Solomon's Mines and its sequels. Allan Quatermain was also the title of a book in this sequence. Haggard wrote the book over his summer holiday in 1885 immediately after King Solomon's Mines. It was first serialised in Longman's Magazine before being published.