"Gulliver's Travels" was written in 1726 by Jonathan Swift as a satire on the politics and society of his time.
The book starts with Lemuel Gulliver, the hero, being shipwrecked while on a voyage to the East Indies.
He washes up on the shores of Lilliput, a country inhabited by tiny people. They take Gulliver captive by tying him down while he is still unconscious.
They then take him and give him to their emperor who keeps him as sort of a novelty. Gulliver eventually helps Lilliput by stealing the navy of a neighboring enemy country (he wades over and pulls all the ships away).
Later, Gulliver learns of a plot against him in Lilliput, so he escapes to Blefescu, the country whose navy he had stolen.
He is treated well there, but when he finds a normal-sized rowboat washed up on shore, he leaves both Lilliput and Blefescu.