Jonathan Swift in Gulliver's Travels , makes reference to two moons of Mars.
"The astronomers on the flying island of Laputia, have ... discovered two lesser stars, or satellites, which revolve around Mars, whereof the innermost is distant from the center of the primary exactly three of his diameters, and the outermost five: the former revolves in the space of ten hours, and the latter in twenty-one and a half. "
The number of moons is correct.The moons were not discovered 1877 - 151 years later.
He places them in close proximity to the planet, which they are.
The moons were not discovered 1877 - 151 years later.