The Homestead Act was a significant piece of legislation passed in 1862 that encouraged western migration by providing settlers with 160 acres of public land for a small fee, as long as they improved the land by building a dwelling and cultivating crops. This act played a crucial role in shaping American settlement patterns, particularly in the Appalachian region, by attracting various immigrant groups, promoting subsistence farming, and leading to the establishment of numerous early settlements.