Does "France and Spain then entered the war against Great Britain as Allies of the US, ending its naval advantage and escalating the conflict into a world war." correctly answer the question of What battle ended a British invasion from Canada in the Revolutionary War?
no