Back on Earth, regional conflicts escalate and the United Nations struggles to contain them. In Sri Lanka, Ranjit unwittingly boards a cruise ship that is hijacked by pirates. When unknown security forces free the ship, Ranjit is arrested on suspicion of terrorism. For six months he is interrogated and tortured, but he cannot supply the information his captors want so he is locked up and "forgotten" for a further 18 months. During this period of incarceration, Ranjit dwells on Fermat's Last Theorem and, after several months, solves it with a three-page proof. Later Ranjit is rescued by a friend from University, Gamini Bandara, who will not reveal whom he is working for or where Ranjit was held captive.