The next morning, the attorney general and Stanley's lawyer arrive, accompanied by police officers; the chest Stanley found is discovered to have belonged to his namesake great-grandfather so Stanley is allowed to keep it. Walker; Mr. Sir, who is revealed to be a paroled criminal named Marion Sevillo; and Pendanski, who is a criminal impersonating a doctor, are arrested. Stanley and Zero are released and it rains in Green Lake for the first time in over 100 years. The Yelnats family claims ownership of the chest which contains jewels, deeds, and promissory notes, which they share with Hector, who uses it to hire private investigators to locate his missing mother. Stanley's father succeeds in inventing his shoe spray with their family curse lifted and both families live a life of financial ease as neighbors.