It is widely known that one of the (main) inspirations for the Foundation series by Isaac Asimov was Gibbon's The History of the Decline and Fall of the Roman Empire.
The parallels between the decline of the actual Roman Empire and the Galactic Empire are fairly obvious, not only regarding the broader history, Asimov himself also wrote some characters that were directly inspired by real historical figures.
I'm mainly referring to Bel Riose and Emperor Cleon II: the former was a highly successful general, that later fell in disgrace because his popularity was seen as a threat by the latter, his Emperor.
They were respectively the "galactic" versions of the late roman/byzantine general Belisarius (his name is essentially an imperfect anagram) and Emperor Justinian I: even Belisarius was possibly the greatest general of his time, he is mainly remembered for his successes in the Greco-Gothic War that was fought by the Eastern Roman Empire to reconquer the italian peninsula. And even Belisarius during the last part of his life had troublesome confrontations with the imperial power (the alleged "blind beggar" story was probably only a legend, but it served as a basis for Bel Riose nonetheless).
I'm wondering if other Foundation's characters were also inspired by real historical figures, not necessarily in this fairly evident fashion but even in more subtle ways.