The Homestead Act encouraged farmers to acquire land at almost no cost, and those who could overcome the loneliness, prairie fires, insect infestations, extremes of climate, and incessant winds were able to build prosperous lives. By 1890 they were growing massive annual surpluses, driving down the cost of food throughout the Western world and eliminating the danger of famine in America once and for all.