The premise of the stories is that, in the waning days of a future Galactic Empire, the mathematician Hari Seldon spends his life developing a theory of psychohistory, a new and effective mathematical sociology. Using statistical laws of mass action, it can predict the future of large populations. Seldon foresees the imminent fall of the Empire, which encompasses the entire Milky Way, and a dark age lasting 30,000 years before a second empire arises. Although the inertia of the Empire's fall is too great to stop, Seldon devises a plan by which "the onrushing mass of events must be deflected just a little" to eventually limit this interregnum to just one thousand years. To implement his plan, Seldon creates the Foundations—two groups of scientists and engineers settled at opposite ends of the galaxy—to preserve the spirit of science and civilization, and thus become the cornerstones of the new galactic empire.
Foundation is an upcoming American science fiction television series based on the book series of the same name by Isaac Asimov and produced for Apple TV+.
https://en.wikipedia.org/wiki/Foundation_series
https://tv.apple.com/show/umc.cmc.5983fipzqbicvrve6jdfep4x3?at=1010lGbf&ct=atvp_foundation_gen_gen&itscg=80101&itsct=atvp_foundation_gen_gen
https://en.wikipedia.org/wiki/Foundation_(TV_series)
https://www.imdb.com/title/tt0804484/
Vir:
https://www.firstshowing.net/2020/first-trailer-for-apples-sci-fi-foundation-based-on-asimovs-books/