Some settlers acquired land legally, through land grants, such as the Homestead Act, and through legal purchases of newly acquired territories.