Which supporter of federalism warned people about the dangers of political parties?

James Madison was a strong supporter of federalism who famously warned against the danger of political parties. Madison argued in Federalist #10 that political parties and faction can impose the "wrong and unequal system of government" that he feared would come from the direct influence of the majority on their own self-interests. Madison saw a danger in such factions when there are "inclinations of justice and naturalenemies of injustice," and that they can lead to the "real domination of the major party over the minor." In particular, Madison feared how a single political party could come to dominate society and run roughshod over the rights of the minority. He saw this as a consequence of a weakness in federalism, which made the rights of the minority vulnerable. Madison championed federalism to protect these fundamental rights, which can only be done by preventing the domination of any single party or faction.