Complex sentence: It was at the Museum of Transportation, in St. Louis, Missouri until 1988, when it began pulling excursions, until 2002, when it was returned to the Museum of Transportation.
Split into simpler sentences: It was at the Museum of Transportation in St. Louis, Missouri until 1988, when it began pulling excursions. In 2002, it was returned to the Museum of Transportation.