Revolution and the new nation (1763–1789)
Declaration of Independence, a portrait by John Trumbull depicting the Committee of Five presenting the draft of the Declaration to the Continental Congress on June 28, 1776, in Philadelphia
After the British victory in the French and Indian War that was won largely through the support in men and materiel from the colonies, the British began to assert greater control in local colonial affairs, fomenting colonial political resistance. In 1774, to demonstrate colonial dissatisfaction with the lack of representation in the British government that extracted taxes from them, the First Continental Congress met in Philadelphia and passed the Continental Association, which mandated a colonies-wide boycott of British goods. The American Revolutionary War began the following year, on April 19, 1775, at the Battles of Lexington and Concord. The then United Colonies responded by again convening in Philadelphia in the Second Continental Congress, where, in June 1775, they appointed George Washington as commander-in-chief of the Continental Army, which was initially comprised of various American patriot militias resisting the British Army. In June 1776, the Second Continental Congress charged a committee with writing a Declaration of Independence, largely drafted by Thomas Jefferson.
On July 4, 1776, the Second Continental Congress with alterations unanimously adopted and issued the Declaration of Independence, which famously stated: "We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness." The adoption of the Declaration of Independence is celebrated annually on July 4 in the United States as Independence Day. In 1777, the American victory at the Battle of Saratoga resulted in the capture of a British army, and led to France and their ally Spain joining in the war against them. After the surrender of a second British Army at the siege of Yorktown in 1781, Britain signed a peace treaty. American sovereignty gained international recognition, and the new nation took possession of substantial territory east of the Mississippi River, from what is present-day Canada in the north and Florida in the south. Tensions with Britain remained, leading to the War of 1812, which was fought to a draw.
In 1781, the Articles of Confederation and Perpetual Union established a decentralized government that operated until 1789. Considered one of the most important legislative acts of the Confederation Congress, Northwest Ordinance (1787) established the precedent by which the national government would be sovereign and expand westward with the admission of new states, rather than with the expansion of existing states and their established sovereignty under the Articles. The prohibition of slavery in the territory had the practical effect of establishing the Ohio River as the geographic divide between slave states and free states from the Appalachian Mountains to the Mississippi River, an extension of the Mason–Dixon line. It also helped set the stage for later federal political conflicts over slavery during the 19th century until the American Civil War.
As it became increasingly apparent that the Confederation was insufficient to govern the new country, nationalists advocated for and led the Philadelphia Convention of 1787, where the United States Constitution was authored and then ratified in state conventions in 1788. The U.S. Constitution is the oldest and longest-standing written and codified national constitution in force today. Going into effect in 1789, it reorganized the government into a federation administered by three branches (executive, judicial, and legislative), on the principle of creating salutary checks and balances. George Washington, who led the Continental Army to victory in the Revolutionary War and then willingly relinquished power, was elected the new nation's first President under the new constitution. The Bill of Rights was adopted in 1791, originally forbidding only federal restriction of personal freedoms and guaranteeing a range of legal protections, portions of the Bill of Rights are now applied to state and local governments by virtue of both state and federal court decisions.