In Foundation, the Galactic Empire is dying after 12,000 years of reigning supreme. After seeing visions of barbarism and warfare lasting 30,000 years into a post-galactic-empire future, Hari Seldon, creator of the science of psychohistory, gathers the greatest minds in the Empire and brings them all to salvation on a small planet at the edge of the galaxy he calls the Foundation. He soon learns that the Foundation is not exempt from the exact dangers he attempted to evade.