Complex sentence: Ajay ends up in Yuma's mountain prison, which he manages to escape from, finding out that Yuma started despising Pagan, mostly because of his affections toward Ajay's late mother.
Split into simpler sentences: Ajay ends up in Yuma's mountain prison, which he manages to escape from. In the process he finds out that Yuma started despising Pagan, mostly because of his affections toward Ajay's late mother.