The Constitution was written in the summer of 1787 in Philadelphia, Pennsylvania, by delegates from 12 states, in order to replace the Articles of Confederation with a new form of government. It created a federal system with a national government composed of 3 separated powers, and included both reserved and concurrent powers of states. The president of the Constitutional Convention, the body that framed the new government, was George Washington, though James Madison is known as the "Father of the Constitution" because of his great contributions to the formation of the new government. Gouverneur Morris wrote the Constitution's final language. The Constitution was a compact - though Federalists and Anti-Federalists disagreed over whether the states or the people were the agents of the compact.