Montana is a state in the Pacific Northwest and Great Plains regions of the United States of America. The central and western thirds of the state have numerous mountain ranges (approximately 77 named) of the northern Rocky Mountains; thus the state's name, derived from the Spanish word montaņa ("mountain"). The state nickname is the "Treasure State." Other nicknames include "Land of Shining Mountains," "Big Sky Country," and the slogan "the last best place." The state ranks fourth in area, but 44th in population, and therefore has the third lowest population density in the United States. The economy is primarily based on agriculture and significant lumber and mineral extraction.[citation needed] Tourism is also important to the economy, with millions of visitors a year to Glacier National Park, the Battle of Little Bighorn site, and three of the five entrances to Yellowstone National Park.
Montana became a United States territory (Montana Territory) on May 26, 1864, and the 41st state on November 8, 1889.