The main cause of the was slavery, which was allowed in the South, including all 11 Confederate States. While slavery was illegal in most of the North. The Confederate States tried to leave the Union after Abraham Lincoln, who disliked slavery, was elected US president. The Union believed that it was illegal for the states to break away. There were five states that allowed slavery which stayed in the Union.