When was the Articles of Confederation?

The Articles of Confederation was what the first constitution of the United States was called. It set up the states as part of a union and was finally ratified in 1781.