<human>:  What did the homestead act of 1862 establish?
<bot>: The Homestead Act of 1862 established the right of any American, including freed slaves, to acquire up to 160 acres of land, previously held by the federal government, and to receive title to the land after living on or cultivating it for five years.