
Pip and Magwitch try to escape by boat, but are betrayed by Compeyson. Magwitch attacks him and Compeyson is drowned. Magwitch is captured, but later dies in prison. By this time, Pip realises that he is a good and noble man. Pip makes Magwitch's last moments happy by telling him Estella is his daughter.