The United States Constitution was written in 1787 in Philadelphia in response to weaknesses in the Articles of Confederation. It was drafted primarily by James Madison and established a stronger federal government with three branches and a system of checks and balances. While an improvement, some argue it is outdated and in need of revisions to better protect citizens' rights and clarify procedures.