United States presidential primary
There is no provision for the role of political parties in the United States Constitution, since the Founding Fathers did not originally intend for American politics to be partisan. In Federalist Papers No. 9 and No. 10, Alexander Hamilton and James Madison, respectively, wrote specifically about the dangers of domestic political factions. Thus in the first two presidential elections, the Electoral College handled the nominations and elections in 1789 and 1792 that selected George Washington. The beginnings of the American two-party system then emerged from Washington's immediate circle of advisors. Hamilton and Madison, who wrote the aforementioned Federalist Papers against political factions, ended up being the core leaders in this partisanship: Hamilton became the leader of Federalist Party while Madison co-helmed the Democratic-Republican Party with Thomas Jefferson.
History of New York (state)
The state adopted its constitution in April 1777, creating a strong executive and strict separation of powers. It strongly influenced the federal constitution a decade later. Debate over the federal constitution in 1787 led to formation of the groups known as Federalists—mainly "downstaters" (those who lived in or near New York City) who supported a strong national government—and Antifederalists—mainly upstaters (those who lived to the city's north and west) who opposed large national institutions. In 1787, Alexander Hamilton, a leading Federalist from New York and signatory to the Constitution, wrote the first essay of the "Federalist Papers". He published and wrote most of the series in New York City newspapers in support of the proposed United States Constitution. Antifederalists were not swayed by the arguments, but the state ratified it in 1788.