What was one of the keys to the American gaining their independence was?

Umm.. the french/ spanish help... all the battles and turning points... the political cartoons and the engraving of the boston massacre...