In the mid-19th century, Britain began the process of granting self-government to its remaining colonies in North America. Most of these colonies joined the Confederation of Canada in the 1860s or 1870s, though Newfoundland would not join Canada until 1949. Canada gained full autonomy following the passage of the Statute of Westminster 1931, though it retained various ties to Britain and still recognizes the British monarch as head of state. Following the onset of the Cold War, most of the remaining British colonies in the Americas gained independence between 1962 and 1983. Many of the former British colonies are part of the Commonwealth of Nations, a political association chiefly consisting of former colonies of the British Empire.