Edison’s Conquest of Mars, by Garrett P. Serviss

Second paragraph of third chapter:

The crowd apparently hardly knew at first how to receive the Sultan of Turkey, but the universal good feeling was in his favor, and finally rounds of hand clapping and cheers greeted his progress along the splendid avenue.

This is a rollicking 1898 Edison fanfic sequel to The War of the Worlds, in which the nations of the earth, shocked by a Martian attack on New York, fund a retaliatory mission to Mars led by Thomas A. Edison and Lord Kelvin, with the author putting himself in first person in the middle of the fray. Edison has conveniently invented both a disintegration ray and an anti-gravity drive, so the large Earth expedition is ultimately successful despite tribulations along the way. (This is not a spoiler – the end of the story is given away by the title of the book.)

There’s an amusing fantasy diplomacy bit at the beginning with the rulers of the world converging on Washington and Queen Victoria dancing with President McKinley (she turned 79 that year). The cliches of space travel and war with other planets are explored here for the first time; the Martians are subhuman savages, with all that that implies; there is a beautiful human hostage, the last of her kind; and Thomas Edison wins the war, for humanity. (Apparently he was consulted about being made the hero of the book, and consented.)

The Project Gutenberg version is enlivened by the illustrations created by Bernard Manley, Jr, for the 1947 printing of the story. Manley lived to 91 and died as recently as 2012. You can get it from Project Gutenberg here.