Mexico. The extreme southernmost portion of Alberta was part of the French (and Spanish) territory of Louisiana and was sold to the United States in 1803. In the Treaty of 1818, the portion of Louisiana north of the Forty-Ninth Parallel was ceded to Great Britain. Fur trade expanded in the north, but bloody battles occurred between the rival HBC and NWC, and in 1821 the British government forced them to merge to stop the hostilities. The amalgamated Hudson's Bay Company dominated trade in Alberta until 1870 when the newly formed Canadian Government purchased Rupert's Land. Northern Alberta was included in the North-Western Territory until 1870, when it and Rupert's land became Canada's North-West Territories. First Nations negotiated the Numbered Treaties with the Crown in which the Crown gained title to the land that would later become Alberta, and the Crown committed to the ongoing support of the First Nations and guaranteed their hunting and fishing rights. The most significant treaties for Alberta are Treaty 6 (1876), Treaty 7 (1877) and Treaty 8 (1899). The District of Alberta was created as part of the North-West Territories in 1882. As settlement increased, local representatives to the North-West Legislative Assembly were added. After a long campaign for autonomy, in 1905, the District of Alberta was enlarged and given provincial status, with the election of Alexander Cameron Rutherford as the first premier. Less than a decade later, the First World War presented special challenges to the new province as an extraordinary number of volunteers left relatively few workers to maintain services and production. Over 50% of Alberta's doctors volunteered for service overseas. On June 21, 2013, during the 2013 Alberta floods Alberta experienced heavy rainfall that triggered catastrophic flooding throughout much of the southern half of the province along the Bow, Elbow, Highwood and Oldman rivers and tributaries. A dozen municipalities in Southern Alberta declared local states of emergency on June 21 as water levels rose and numerous communities were placed under evacuation orders. In 2016, the Fort McMurray wildfire resulted in the largest fire evacuation of residents in Alberta's history, as more than 80,000 people were ordered to evacuate. Since 2020, Alberta has been affected by the COVID-19 pandemic. Demographics The 2021 Canadian census reported Alberta had a population of 4,262,635 living in 1,633,220 of its 1,772,670 total dwellings, an 4.8% change from its 2016 population of 4,067,175. With a land area of