How did Namikaze Minato make Huo Ying ahead of Gang Shou?

The fourth generation of Huo Ying should be orochimaru. But the third generation knows that if orochimaru has the power, it may lead to the Ninja World War. In order to prevent this from happening, he chose Jiraiya as Huo Ying. When orochimaru knew this, he left the wood industry in a rage, and Jiraiya didn't want to be Huo Ying. He is used to a free life. At this moment, he thought of his disciple Namikaze Minato. He found him and recommended him to the third generation. If you don't believe me, you can go to see the prequel of Naruto.