The Trumpet-Major is a novel by Thomas Hardy published in 1880, and his only historical novel. It concerns the heroine, Anne Garland, being pursued by three suitors: John Loveday, the eponymous trumpet major in a British regiment, honest and loyal; his brother Bob, a flighty sailor; and Festus Derriman, the cowardly nephew of the local squire. The novel is set in Weymouth during the Napoleonic wars;[1] the town was then anxious about the possibility of invasion by Napoleon. Of the two brothers, John fights with Wellington in the Peninsular War, and Bob serves with Nelson at Trafalgar. The Napoleonic Wars was a setting that Hardy would use again in his play, The Dynasts, and it borrows from the same source material.