Extract the full names of characters in the text. List them separated by newlines.

This part is original to the 1951 book version. It takes place in 12,067 G.E. ("Galactic Era"). The story begins on Trantor, the capital of the 12,000-year-old Galactic Empire, powerful but slowly decaying. Hari Seldon, a mathematician and psychologist, has developed psychohistory, a new field of science and psychology that treats all possibilities in large societies by mathematics, allowing for the probabilistic prediction of future events.

By means of psychohistory, Seldon has discovered the decline and eventual fall of the Empire, angering the aristocratic members of the Commission of Public Safety, the de facto rulers of the Empire. The Commission considers Seldon's views and statements treasonous, and he is arrested along with the young mathematician Gaal Dornick, who has arrived on Trantor to join Seldon's group. Seldon is tried by the Commission; he defends his beliefs, explaining his theories and predictions, including his belief that the Empire will collapse in 300 years and while a Second Empire will eventually rise it will only come after a 30,000-year dark age. He informs the Commission that an alternative to this future is attainable and explains to them that creating a compendium of all human knowledge, the Encyclopedia Galactica, may not prevent the inevitable fall of the Empire but would reduce the dark age to one millennium.

The skeptical Commission, not wanting to make Seldon a martyr, offers him exile to a remote world, Terminus, with others who could help him create the Encyclopedia. He accepts their offer, prepares for the departure of the "Encyclopedists" and receives an imperial decree officially acknowledging his actions. Seldon informs Dornick that, despite the Empire's belief it won by exiling Seldon, the outcome was exactly what he had intended and hoped for. Terminus would be the home of the first Foundation while a second would be established "at Star's End." Seldon then reveals that he is dying, and implores Dornick to become a leader in the new Foundation.

Hari Seldon
Gaal Dornick