D. By treaty with france after victory in war.
During the war, France lost control over all of its Canadian possessions, which was ratified by the Treaty of Paris. He lost all his colonies east of the Mississippi, except Saint Pierre and Miquelon, two islands near Newfoundland. In the Caribbean, it only maintained the islands of Guadeloupe and Martinique. Spain did not leave very badly stopped since it received Louisiana in compensation for the loss of Florida and also recovered Havana.
Great Britain had clearly been the great victor of the conflict, managing to dominate the entire east coast of North America and eliminating a rival colonial empire that prevented it from spreading inland. It also gained importance in Caribbean waters thanks to the numerous places won by the French.