Category:1840 in the United States by state or territory