Complex sentence: Railroad came to the city in the 1850s, with the last passenger train ending in the early 1980s that left a few freight trains passing near the city.
Split into simpler sentences: Railroad came to the city in the 1850s, with the last passenger train ending in the early 1980s. That left a few freight trains passing near the city.