He crashed during the war and was rescued by a local warlord, General Yang, becoming his trusted second-in-command ... and his prisoner.
In the context of the war, he was injured and rescued by General Yang, becoming his trusted second-in-command and captive.