What event caused the south to leave the union?

It was Abraham Lincoln's election as President that was the last straw for the South and led to secession. Lincoln was elected on March 4, 1861.