Complex sentence: The Virginia Central Railroad was completed through Louisa County in 1838-1840 and during the Civil War was an important supply line for the Confederate armies.
Split into simpler sentences: The Virginia Central Railroad was completed through Louisa County in 1838-1840. During the Civil War, it was an important supply line for the Confederate armies.