There was a split in the government with a Federalist president and a Democratic-Republican vice-president
the long-standing disagreement over the institution of slavery was the main cause. Growth of the Abolitionist movement to end slavery.
This should be it. If these graphs confuse you, I wrote down what you should do. It should help you in the future.