What was the primary cause of the Civil War?