Aboriginal people lived in the places that are now Canada for a long time. In 1537 the French started a colony and the British Empire soon followed. The two empires fought several wars and in the late 18th century only British North America remained with what is more or less Canada today. The country was formed with the British North America Act on July 1, 1867, from several colonies. Over time, more provinces and territories became part of Canada. In 1931, Canada achieved near total independence with the Statute of Westminster 1931, and became completely independent when the Canada Act 1982 removed the last remaining ties of legal dependence on the Parliament of the United Kingdom.