Complex sentence: As oil grew in importance, the railroads that had formed the town declined and largely pulled out of Luling in the 1930s and 1940s.
Split into simpler sentences: As oil grew in importance, the railroads which had formed the town declined. The railroads largely pulled out of Luling in the 1930s and 1940s.