Canada was founded in 1867 as a union of British colonies (some of which were formerly French colonies). It gained independence from the United Kingdom in an incremental process that ended in 1982. It remains within the Commonwealth Realm.