Congress passed the Homestead Act in 1862 in order to encourage western migration and settlement by providing settlers with 160 acres of public land for a nominal fee. The act also provided settlers with the opportunity to gain title to the land after five years of residence and cultivation.