The Prince and the Pauper is a novel by Mark Twain. It was first published in 1881 in Canada, before its 1882 publication in the United States. The novel represents Twain's first attempt at historical fiction. Set in 1547, it tells the story of two young boys who are identical in appearance: Tom Canty, a pauper who lives with his abusive father in Offal Court off Pudding Lane in London, and Prince Edward, son of King Henry VIII.
Tom Canty, youngest son of a poor family living in Offal Court located in London, has always aspired to a better life, encouraged by the local priest, who has taught him to read and write. Loitering around the palace gates one day, he meets Edward Tudor, the Prince of Wales. Coming too close in his intense excitement, Tom is nearly caught and beaten by the Royal Guards. However, Edward stops them and invites Tom into his palace chamber. There, the two boys get to know one another. Fascinated by each other's life and their uncanny resemblance to each other and learning they were even born on the same day, they decide to switch places "temporarily." The Prince momentarily goes outside, quickly hiding an article of national importance, which the reader later learns is the Great Seal of England, but dressed as Tom, he is not recognized by the guards, who drive him from the palace, and he eventually finds his way through the streets to the Canty home. There, he is subjected to the brutality of Tom's alcoholic and abusive father, from whom he manages to escape, and meets one Miles Hendon, a soldier and nobleman returning from war. Although Miles does not believe Edward's claims to royalty, he humors him and becomes his protector. Meanwhile, news reaches them that King Henry VIII has died and Edward is now the King.