mastermind (n.) Look up mastermind at Dictionary.com
1720, "an outstanding intellect," from master (n.) + mind (n.). Meaning "head of a criminal enterprise" is first attested 1872. As a verb from 1940. Related: Masterminded; masterminding.