Complex sentence: Xi realizes that in such a chaotic era, the only way to survive is to resort to violence, and he eventually becomes a powerful gang boss in Shanghai.
Split into simpler sentences: Xi realizes that in such a chaotic era, the only way to survive is to resort to violence. He eventually becomes a powerful gang boss in Shanghai.