What did the Homestead Act of 1862 offer western settlers?

A. Free public education
B. A free ride to the West Coast
C. Money to pay for things they wanted
D. 160 acres of free land to farm.