When Did the Civil War End?

The civil war was ended in 1865 when General Lee surrendered. The southern states economy was agricultural based and their farmland was completely destroyed.