After 16 months of debate, the Continental Congress, sitting in its temporary capital of York, Pennsylvania, agrees to adopt the Articles of Confederation and Perpetual Union on November 15, 1777. Not until March 1, 1781 would the last of the 13 states, Maryland, ratify the agreement.