What event came directly before the beginning of the Civil War?