John Gay (30 June 1685 – 4 December 1732) was an English poet and dramatist. He is best remembered for The Beggar's Opera (1728), set to music by Johann Christoph Pepusch. The characters, including Captain Macheath and Polly Peachum, became household names.