After mining declined at the turn of the 20th century, agriculture and logging became the primary influences in the Spokane economy. The population explosion and the building of homes, railroads, and mines in northern Idaho and southern British Columbia fueled the logging industry. Although overshadowed in importance by the vast timbered areas on the coastal regions west of the Cascades, and burdened with monopolistic rail freight rates and stiff competition, Spokane became a noted leader in the manufacture of doors, window sashes, blinds, and other planing mill products. Rail freight rates were much higher in Spokane than the rates in coastal seaport cities such as Seattle and Portland, so much so that Minneapolis merchants could ship goods first to Seattle and then back to Spokane for less than shipping directly to Spokane, even though the rail line ran through Spokane on the way to the coast.