How did the South recover from its own destruction?

After the Civil War, the state's that defected were left in ruin. Their lands were burned, their economy was non-existent, and their people were jailed. How did the South recover?