In the late 19th century, mineral strikes in southeastern BC near Nelson, Ainsworth, Rossland, Kaslo, Kimberley and Moyie inspired American rail interests to push lines northward, to rail out ore and to provide machinery and supplies needed for the development of local smelters.
A rail line was planned from Lethbridge, Alberta to Kootenay Landing near Nelson, British Columbia through the Crowsnest Pass, which would also enable the development of coal deposits in the Pass and the Elk River valley, important both for mineral smelting operations and for the CPR's conversion of locomotives from wood to coal.
[1] The CPR needed government funding and concessions for the construction of this rail line, and the negotiated agreement between the CPR and the Canadian government was contained in the "Crowsnest Pass Agreement" dated September 6, 1897.
Amongst other things, the CPR agreed to provide reduced rail rates for farmers' grain shipped east to the Great Lakes and for farm machinery shipped west from central Canada "forever".
By the early 1980s, the government attempted to resolve the problems between the competing interests by altering the agreement.