The Ghost World Filament
The episode opened with the story of the post-modern feudal world of Filament, which was destroyed when its sun went supernova. An energy cloud formed where the planet used to be, and its inhabitants, not accepting their untimely fate, became spirits. When the 999 passed through the energy cloud, the ghosts disabled the train and kidnapped Tetsuro. One of the spirits wanted her son to possess Tetsuro, so that he (the spirit) could travel to the destination and receive a mechanical body.
Aired 12/04/1979EP 30 - The Ghost World Filament

Galaxy Express 999
After witnessing the death of his mother and being left for dead at the hands of Count Mecha, ten-year old Tetsuro Hoshino is awakened by a mysterious woman, Maetal. In exchange for only his company, Maetal offers him the ride of his life on the Galaxy Express 999. It is said that those who travel aboard the legendary train to the end of the line can receive a free mechanical body and with it, immortality.
Impoverished and alone, Tetsuro leaps at the opportunity and joins Maetal on a quest that will span the cosmos. As the Galaxy Express 999 makes its way across our solar system and beyond, Tetsuro is drawn deeper into a dangerous universe where peril lurks at every stop.
(Source: Discotek)