To encourage railroad companies to build railroads across the West, the government gave them subsidies by _____.

A) providing free land
B) paying the wages of laborers
C) providing railroad trains
D) giving them building materials