Respuesta :
Personally I would correct it as;
Many southern states left, the Union, shorty after Lincoln was elected President.
Place a comma after Union
"Many Southern states left the Union, shortly after Lincoln was elected president."