Canada was a North American colony of France until the late 18th century .
As a consequence of various conflicts , Great Britain gained and lost territories within British North America until it was left , in the late 18th century , with what mostly geographically comprises Canada today .
Canada