The climax of The Adventures of Huckleberry Finn comes in the final chapters of the novel. After finally ridding themselves of the king and the duke, Huck still has to rescue Jim, who has been sold to the Phelps family. When Huck arrives at the Phelps', it turns out they are relatives of Tom Sawyer and mistake Huck for Tom, coming for a visit. Tom shows up later that day, and he pretends to be his own brother, Sid. Huck and Tom decide to rescue Jim, but Tom's form of escape is a complicated one, modeled on stories he has read. In the process, Tom is wounded in the leg and Huck and Jim are caught. But the wounded Tom has news: Miss Watson, Jim's owner, has died and has made Jim a free man in her will. Aunt Polly shows up next, and the boys' true identities are made known to the Phelps'. Though Huck is not happy with Tom's deception about Jim's newly found freedom, all ends happily. Tom has had the adventure of the escape, Jim is free, and Huck finds out his mean old Pap is dead. The story ends with Huck planning a new adventure down river.