The Constitutional Convention was held between May and September of 1787 in Philadelphia, Pennsylvania to deal with the glaring weaknesses with the Articles of Confederation. Rather that revise the Articles of Confederation, the delegates at the Convention quickly decided to replace it with a new constitution. Famous patriots in attendance included Benjamin Franklin, James Madison, John Jay, Alexander Hamilton, George Washington, George Mason. Absent were John Hancock, Thomas Jefferson, John Adams, and Patrick Henry.
With George Washington presiding, the 55 delegates met in secret in Philadelphia and drafted a new document. Rather than revise the current Articles, Madison promptly declared that any confederacy was doomed to failure. The Constitution was approved by Congress and sent to the states for ratification. After intense debate all 13 states ratified (some with the provision that a Bill of Rights be added) and the new government took office in March, 1789, with George Washington as the first president.At the time the Constitution was written, most states had recently written new constitutions of their own, so constitution-making was a well-known process. They all reflected the basic American political value of a Democratic Republic. Conservatives hail it as a great triumph.
Demand for reform
By 1785, newspaper essayists and petitioners in favor of national trade policies were demanding a vigorous, expanding, interdependent continental economy. They envisioned a national union whose primary purpose was to create a continental marketplace that could operate free of obstruction by contrived, and unnecessary, provincial entities. Washington spoke for many American nationalists dismayed at the national weakness and loss of national pride. He knew that the Revolution had nearly been lost because of the impotence of the national government; Washington feared that the nation might not be so fortunate during the next emergency.
In the late 1780s, a crisis of self-confidence shook the new nation. Was its government strong enough to guarantee internal cohesion and to provide for the common defense against outside enemies (such as Britain and Spain), or indeed to defend against internal revolts (such as Shays Rebellion in Massachusetts, in 1786–87)? 
The nationalists met at the 1786 Annapolis Conference, which originated from a series of commercial meetings among the northeastern states. Some historians see it as an unsuccessful experiment in reforming the Articles of Confederation. Others emphasize that the nationalists at Annapolis, especially Alexander Hamilton of New York and James Madison of Virginia, used it to call for the Philadelphia convention. The Annapolis experience led Madison and the other nationalists to consider designing a new federal political system with a powerful central government. The report of the Conference, sent to Congress, requested "the appointment of Commissioners, to meet at Philadelphia on the second Monday in May next."
Leading nationalists, led by Washington, Hamilton, and Benjamin Franklin called for a new constitution. The old Congress (based in New York) agreed and called the states to send delegates to a convention in Philadelphia in May of 1787. This convention, over the course of the summer, drew up a new constitution that was submitted to Congress and eventually to state ratification conventions for approval. James Madison, who arrived in Philadelphia early to map out an initial plan for debate, is called "the father of the Constitution."  Madison took copious notes of the debates, which he refused to release until the last delegate was dead; they were published posthumously. 
Political parties did not exist in 1787 and were not mentioned in the Constitution. In each state, factions competed for control of the legislatures and the governorships. Because the states controlled their representatives to Congress, a geographically based factionalism pitting the different states against one other existed in the Continental Congress. The factions in the different states had little in common; politics did not cross state lines and no coalitions were formed that crossed state lines. Many nationalists feared Congress was too weak. 
Drafting the Constitution
On 29 May when Edmund Randolph proposed to replace the current government with a totally new structure. Randolph's Virginia Plan favored large states (Virginia had the largest population at the time) and increased the power of the central government. In mid June, the smaller states responded with the New Jersey Plan, introduced by William Patterson. The convention debated the New Jersey option until 19 June, when it was voted down. Therefore the Virginia Plan, much expanded and elaborated upon in the course of four-and-a-half months, formed the basis of the Constitution.
Madison, more liberal than most of the delegates, is given the major credit for shaping the key provisions, but most of his proposals were actually defeated. Madison wanted broad national authority independent of state governments and population-based congressional representation. Delegates from smaller states opposed had other goals: to nationalize only selective public goods, to maintain most state policy autonomy, and to minimize contingencies imposed by other governments. Connecticut's delegates, particularly Roger Sherman, played a pivotal role in revising Madison's agenda. Madison's convention opponents are responsible for a Constitution that nationalized only enumerated public goods and imposed potentially high transaction costs on any further nationalization of policy authority. They helped make federalism a lasting political weapon used to win substantive policy outcomes, says Robertson.
During the Convention, on August 22, 1787, the Delegates took a break to see John Fitch successfully demonstrate his 45-foot steamboat in the Delaware River between Pennsylvania and New Jersey. Fitch received a U.S. patent in 1791. Fulton began building boats in 1801, and in 1807 his boat the Clermont made its famous run up the Hudson from NYC to Albany.
National vs State Government
These delegates, notably Hamilton, wished to see most power in a central government.
The State's Rights advocates like George Mason wanted powerful state governments and did not want the neational government to weaken those powers.
Federalism was adopted, which provided a supreme national government that shares power with sovereign states.
Small states versus large
Slonin (2000) studies the debates on federal powers, including those on a federal legislative veto and the advice and consent of the Senate. He finds a complex interaction between contending interests and groups, as well as a discriminating response to the need to balance the requirements of the national government with the preservation of state influence. Nearly all areas of discussion at the convention were dominated by differences between the interests of large states and small states. The first outline of the national government reflected more of a compromise between the large and small states and between nationalists and those intent on maintaining states' interests than many Federalists preferred. Instead of Madison's vision of a national government freed from any reliance on states as seen in the Virginia Plan, the final version of the Constitution granted the states a substantial role and basic involvement in the operation of the national government.
The Virginia Plan proposed representation based on population, giving larger states more power than smaller states. It called for a bicameral legislature with a lower house elected from citizens of each state, and an upper house elected by members of the lower house. This legislature was able to veto laws passed by states. It was responsible to choose the national executive. The larger states supported this plan.
The New Jersey Plan proposed a unicameral legislature with one vote per state, and a simple revision of the Articles. The smaller states supported this plan, as it gave them more power.
Also known as the Great Compromise, this established a bicameral legislature (Congress). The upper house ([United States Senate|[Senate]]) was to contain two votes per state, with Senators chosen by state legislatures. The lower house (House of Representatives) was based on population, with representatives chosen by the people. The Great Compromise also called for the Articles to be completely replaced.
Executive, Legislative and Judicial branches
The presidency was not controversial. Six influential delegates worked out a system of a strong president to balance a strong Congress. The result was four basic characteristics became permanent: a single executive (rather than a committee or rotation), no constitutional council whose permission was necessary, election by the states through the electoral college, and broad presidential powers over administration, foreign affairs, the military.
The Constitution was written at a time when all the northern states were moving toward emancipation, and most leading southerners doubted the long-term viability of the institution. The Constitution did not use the word "slavery", but it allowed for the abolition of slave importation from abroad after 20 years, for the return of fugitive slaves, and for counting 3/5 of the slave population (and all of the free population) in computing representation in the House and electoral college. That was a compromise between counting all the slaves (which would favor the South) or none (which would favor the North). Benjamin Franklin helped broker the compromises.
Grubb (2006) argues the monetary powers embedded in the Constitution were revolutionary and led to a watershed transformation in the nation's monetary structure. They included determining what monies could be legal tender, who could emit fiat paper money, and who could incorporate banks. Grubb looks at the convention debates to show how these powers evolved and led to the specific powers adopted, which were a rejection of the old colonial system. Grubb shows they codified the powers into supreme law rather than leaving them to legislative debate and enactment.
An intense debate on ratification pitted the "Federalists" against the "Anti-Federalists," with the former gaining the upper hand. The Anti-Federalists were deeply concerned about the theoretical danger of a strong central government (like that of Britain) that some day could ruin republicanism and usurp the rights of the states. Madison and Hamilton (joined by John Jay) countered with a series of newspaper essays, the Federalist Papers, that helped New York to ratify. All the states ratified but as a condition, the Anti-Federalists insisted on a bill of rights which would meet most of their serious objections. The supporters of the Constitution agreed (and the Bill of Rights became part of the Constitution in 1791). The Anti-Federalist element had never comprised an organized group, and had no national leaders. By 1791 its issues were moot; some left politics, and most joined the Jeffersonian Republican Party by 1796. 
The pro-Constitution forces, led by Washington and Hamilton, formed a new government in 1789, with Washington as president. Madison became a leader in the House, where he sponsored the Bill of Rights. Under pressure from his district he resisted moves toward a strong central government, especially those promoted by Hamilton.
The Federalist Party originated around 1792-3 and comprised a somewhat different coalition, including most supporters of the Constitution in 1787-88 as well as entirely new elements, and even some opponents of the Constitution (such as Patrick Henry.) Madison largely wrote the Constitution and thus was a "Federalist" in 1787-88, but by 1792 he opposed the program of the Hamiltonians and their new "Federalist Party."
Various conspiracy theories have been proposed about the Constitution, but all have been rejected by conservative scholars. For example the Progressive historians (led by Charles Beard), as well as Marxists, have portrayed the Constitution as a conspiracy of powerful merchants to enrich themselves further and to stop the growth of democracy. That was false, as is the notion that the Constitutional Convention was somehow illegal or in violation of the laws. (The Convention was called by the existing Congress, which unanimously sent the finished document to the states for ratification.)
- Alexander, John K. The Selling of the Constitutional Convention: A History of News Coverage (1990)
- Banning, Lance. "Republican Ideology and the Triumph of the Constitution, 1789 to 1793." The William and Mary Quarterly, 3rd Ser., Vol. 31, No. 2 (Apr., 1974), pp. 167-188 in JSTOR
- Beeman, Richard R. Plain, Honest Men: The Making of the American Constitution (2009), major scholarly study
- Beeman, Richard R. et al eds. Beyond Confederation: origins of the constitution and American national identity (1987)
- Belz, Herman. A Living Constitution or Fundamental Law? American Constitutionalism in Historical Perspective (1988) by leading conservative scholar online edition
- Bowen, Catherine Drinker. Miracle at Philadelphia: The Story of the Constitutional Convention, May to September 1787 (1986), very well written narrative
- Dougherty, Keith L. and Jac C. Heckelman, "A Pivotal Voter from a Pivotal State: Roger Sherman at the Constitutional Convention." American Political Science Review 2006 100(2): 297-302. Issn: 0003-0554 Fulltext: at Cambridge journals
- Ferling, John. A Leap in the Dark: The Struggle to Create the American Republic (2003) online edition
- Finkelman, Paul. "Slavery and the Constitutional Convention: Making a Covenant with Death," in Richard Beeman, ed. Beyond Confederation, (1987)
- Gibson, Alan. Understanding the Founding: The Crucial Questions, (2007) 232 pages
- Grubb, Farley. "The U.S. Constitution and Monetary Powers: an Analysis of the 1787 Constitutional Convention and the Constitutional Transformation of the Us Monetary System." Financial History Review 2006 13(1): 43-71. Issn: 0968-5650 Fulltext: in Cambridge and Swetswise
- Levy, Leonard, and Dennis J. Mahoney, eds. The Framing and Ratification of the Constitution (1987), articles by scholars
- Main, Jackson Turner. The Antifederalists: Critics of the Constitution (1961)
- McDonald, Forrest. The Formation of the American Republic, 1776-1790 (1965), by a leading conservative historian
- McLaughlin, Andrew C. A Constitutional History of the United States (1935), standard history by leading scholar online edition
- McLaughlin, Andrew C. The Confederation and the Constitution, 1783-1789 (1905) 348 pp. online from Google
- Morgan, Kenneth. "Slavery and the Debate over Ratification of the United States Constitution." Slavery & Abolition 2001 22(3): 40-65. Issn: 0144-039x Fulltext: in Ingenta
- Morris, Richard B. The Forging of the Union: 1781-1789 (1987), standard survey of era by leading scholar
- Rakove, Jack. "The Great Compromise: Ideas, Interests, and the Politics of Constitution Making," William and Mary Quarterly44 (1987): 424–57. in JSTOR
- Rakove, Jack N. Original Meanings: Politics and Ideas in the Making of the Constitution (1997), Pulitzer Prize
- Rakove, Jack N. Interpreting The Constitution: The Debate Over Original Intent (1990)
- Robertson, David Brian. "Madison's Opponents and Constitutional Design." American Political Science Review 2005 99(2): 225-243. Issn: 0003-0554
- Rossiter, Clinton. 1787: The Grand Convention (1966), narrative and interpretation by leading scholar
- Rutland, Robert Allen. The Ordeal of the Constitution: The Anti-Federalists and the Ratification Struggle, 1787–1788 (1966)
- Rutland, Robert Allen. The Birth of the Bill of Rights, 1776–1791 (1955)
- Slonim, Shlomo. "Securing States' Interests at the 1787 Constitutional Convention: a Reassessment. Studies in American Political Development 2000 14(1): 1-19. ISSN: 0898-588X Fulltext: at Cambridge journals
- Vile, John R. The Constitutional Convention of 1787: A Comprehensive Encyclopedia of America's Founding ABC-CLIO, 2005). 2 vols. 1083pp; 400 entries; ISBN: 1-85109-669-8
- Warren, Charles. The Making of the Constitution (1928); by a leading conservative historian
- Farrand, Max ed. Records of the Federal Convention of 1787, 4 vol (1911) online edition
- Kenyon, Cecelia M. ed. The Antifederalists (1966), pamphlets by opponents
- Madison, James. Notes on the Debates in the Federal Convention of 1787, Reported by James Madison (1966), online edition
- Ferling; A Leap in the Dark p 258-9.
- Morris, (1987) p. 266
- Morris (1987) pp 267-97.
- Farrand (1911) p xv. The implication is that Madison did not want commentators using his notes to discover what the delegates meant by various provisions.
- McDonald, (1965), pp 17-32 on Congress; pp 33-132 covers each state.
- See Robertson (2005).
- U.S Government and Politics, by Paul Soifer
- George Washington, Alexander Hamilton, James Madison, Rufus King, James Wilson, and Gouverneur Morris.
- In 1808 Congress made the importation of a slave from abroad a serious crime. Britain at the same time outlawed the international slave trade; a small trickle of slaves were smuggled into the U.S. Edward Channing, The Jeffersonian System, 1801-1811 (1906 100-110.
- Morgan (2001); Finkelman (1987)
- Morris The Forging of the Union: 1781-1789 pp 298-322.
- For a good review and refutation of conspiracy theories, see Dr. Curtis E. Grassman, "Conspiracy and the Making of the Constitution" online which concludes, "The various conspiracy theses have not been very convincing. The historical proof or evidence offered by this school of historians has almost always been found wanting upon further investigation."