To encourage development of rail lines westward, the government offered railroad companies massive land grants and bonds. Railroads received millions of acres of public lands and sold that land to generate money for the construction of the railroads.