In 1777, the Second Continental Congress adopted the Articles of Confederation, which contained a provision for raising a confederal militia that consent would be required from nine of the 13 States.
Some militia units appeared without adequate arms, as evidenced in this letter from John Adams to his wife, dated August 26, 1777: The militia are turning out with great alacrity both in Maryland and Pennsylvania.