Complex sentence: It served both railroads when it was completed in 1909 but eventually became wholly owned by Union Pacific in the 1920s.
Split into simpler sentences: It served both railroads when it was completed in 1909. Both railroads eventually became wholly owned by Union Pacific in the 1920s.