The Homestead Act was a significant piece of legislation enacted in 1862 that provided 160 acres of public land to settlers for a small fee, provided they improved the land by building a dwelling and cultivating crops. This act aimed to encourage westward expansion and settlement in the United States, making land accessible to millions of Americans, including farmers and immigrants.