Zhuge Liang (181–234), the famous prime minister and military strategist of the state of 蜀汉shǔhàn during the Three Kingdoms period; a central character in the novel "Romance of the Three Kingdoms" known for his extreme loyalty and wisdom.
mastermind
A person of extraordinary intelligence or strategic skill.