By the time the Civil War began in 1861, the L&N had 269 miles of track. Located almost in the middle of the opposing armies, the L&N at various times served both the Union and the Confederacy as the tides of war changed. Although the railroad suffered considerable damage during the war years, it emerged in surprisingly good financial condition. It was so well off, in fact, that at the close of the war the L&N began expanding. Within a period of 30 years, through construction and acquisition of existing short railroads, the L&N extended its tracks to St. Louis in Missouri, Cincinnati in Ohio, Birmingham and Mobile in Alabama, Pensacola in Florida, and New Orleans in Louisiana.