Complex sentence: He became a major stockholder in the line which was finally finished in 1847, the line turned out to be very profitable.
Split into simpler sentences: He became a major stockholder in the line which was finally finished in 1847. The line turned out to be very profitable.