Madison, look at the pictures below for a proper explanation.
Explanation:
confederacy: supported slavery, believed states should be able to nullify federal laws, supported low tariffs
union: everything else