 In 1865, pipelines were laid directly next to the rail line and the demand for teamsters practically ended.The next year the railroad line was extended south to Petroleum Centre and Oil City.The Union City & Titusville Railroad was built in 1865, which became part of the Philadelphia and Erie Railroad in 1871.