Complex sentence: He gained the Emperor's confidence, and was named his "chief director", a position that gave him much influence in imperial affairs.
Split into simpler sentences: He gained the Emperor's confidence, and was named his "chief director". This position gave him much influence in imperial affairs.