The History of Henry Esmond, Esq., a Colonel in the Service of Her Majesty Queen Anne by Thackeray, William Makepeace
 is a Project Gutenberg book, now on Github.