how did the united states assert itself as a independent nation?