Why was the victory at Yorktown so important to the Patriots?

-It allowed the Declaration of Independence to be issued.

-It forced the American Indians to side with the American colonists.

-It helped France realize they must support the Americans.

-It saw the surrender of General Cornwallis which effectively ended the war.