Complex sentence: Li's import into Legalist statecraft and prognostication theories originally left him an educated, yet marginal figure in Dingyuan County until his recruitmen by the Emperor Hongwu, who was passing through the area with his army.
Split into simpler sentences: Li's import into Legalist statecraft and prognostication theories originally left him an educated, yet marginal figure in Dingyuan County. He recruited by the Emperor Hongwu, who was passing through the area with his army.