Canada was primarily obtained by Britain through treaties with France after victories in war. The most significant event was the conclusion of the Seven Years' War (1756–1763), which saw Britain defeat France. The Treaty of Paris in 1763 resulted in France ceding much of its North American territories, including Canada, to Britain. Therefore, the correct answer would be:
by treaty with France after victory in war.