After writing the original
FoundationTrilogy, Asimov abandoned the story, and didn't come back until the 80's, where a considerable monetary offer from the publishing house was his main incentive (or at least so he tells in the Preface to the book). In this and later books, Asimov tries to bind together in a coherent whole a great deal of his fiction output, creating a future history of humanity.