The concept evolved through short stories and novellas in Astounding Science Fiction magazine during the 1940s, culminating in the publication of the "Foundation" stories as a trilogy of books in the early 1950s.