Gulliver's Travels

Deeply depressed at his dead-end job in the mail room of a New York City newspaper, Lemuel Gulliver decides to talk to journalist Darcy Silverman. He convinces her he could write a report about his (false) extensive world "travels" saying his dream is to become a writer. After suffering writer's block and thinking that Darcy will not want to hang out with a "guy from the mailroom", he plagiarises a report from other publications on the internet. The next day, Darcy, impressed by his writing, presents Gulliver with a new task â to travel to the Bermuda Triangle and write an article about the legends of ships mysteriously disappearing there.
Upon arrival in Bermuda, Gulliver rents a boat and travels into the triangle. After falling asleep at the helm of his ship, he's caught in a freak storm and the boat is overwhelmed by a waterspout. He washes up unconscious on the shore of Lilliput, where he is immediately confirmed as a "beast" by the town's tiny people. He is captured and imprisoned in a cave, citizens claiming him to be dangerous because of his huge size. Here, he meets another prisoner named Horatio who was jailed by General Edward because he loves Princess Mary of Lilliput, whereas Edward also wants her. After the island across from Lilliput, Blefuscia, infiltrates commandos to kidnap Princess Mary, Gulliver manages to break free of the plough-machine he is forced to work and then rescues the princess from being kidnapped. Gulliver also saves her father, King Theodore from a fire by urinating on it.
Gulliver is declared a hero by Lilliput's citizens and makes up a deal of lies saying he is the President of Manhattan, says Yoda is his Vice-President and a living legend in his homeland. Edward, however, becomes enraged due to the luxurious accommodations that have been built for him, and even being presented as an honorary general of the Lilliputian Army complete with uniform. When the townspeople find Gulliver's boat and his things, Gulliver gets angry voicemails from Darcy, saying she has to take his place and travel to Bermuda now, and also found out about his plagiarism and now hates him. The next day, chaos ensues as the Blefuscian Navy lay siege on the city when Edward shuts down its defense system as an act of revenge for Gulliver's treatment. Gulliver defeats the armada, invulnerable to the cannonballs being fired at him (although he receives numerous welts on his stomach). Embarrassed once more, and with Mary no longer wanting to do anything with him, Edward defects to the Blefuscians and brings with him blueprints of a robot coming from Gulliver's Guitar Hero III game manual. The Blefuscians secretly build the robot based on Gulliver's Guitar Hero III game manual, with Edward as the pilot.
The Blefuscians invade Liliput and the robot-wielding Edward makes Gulliver admit to the people that he is "just the guy from the mail-room" and nothing more. Edward banishes Gulliver on the shores of "the island where we dare not go" (Brobdingnag). There, he is snatched up by a "little" girl, (Glumdalclitch) who towers over Gulliver. She captures him easily by trapping him inside a glass cup. When Gulliver wakes up, he finds himself dressed up in a pink dress and is played with by the "little" girl, which ends with him being tucked in bed. Horatio, who has gone to find Gulliver after being spurned by Mary, reveals to Gulliver that Darcy has been imprisoned by the Blefuscians when she is lost in the Bermuda Triangle in the same manner as Gulliver. Gulliver narrowly escapes with him, using a parachute that he took from a dead U.S. Air Force pilot sitting in the dollhouse.
Once again accepting a duel from Edward, this time not only for Lilliput's freedom but for its fate as well â as Edward threatens to destroy it should Gulliver fail â Gulliver ultimately defeats him with the assistance of Horatio, who disables the machine's electrocuting weapon. Horatio is hailed a hero and gets King Theodore's permission to court the princess. Edward, reaching the point of insanity, threatens to kill the princess, but the princess, finally having enough of Edward, beats the traitor up in frustration. Gulliver then helps to make peace between the rival island-nations by reciting Edwin Starr's "War" and he, along with Darcy, return to New York on their repaired boat. The film ends with Gulliver, now a travel writer, taking Darcy to lunch while holding hands, after returning from another travel assignment.

Question: Who rescues the princess from being kidnapped ?
Answer: Gulliver.