British Columbia was originally inhabited by Indigenous peoples for thousands of years before being explored and colonized by Europeans in the 18th century. It officially became a province of Canada in 1871.