What did they do to the south when the war was finished how did they bring them back to the union?