The Homestead Act, signed into law in 1862, was a significant piece of legislation that aimed to promote westward expansion by granting 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 played a crucial role in shaping American society and economy, particularly in states like California, where it contributed to population growth and agricultural development.