Which of the following was the greatest single factor in urbanization of the Gilded Age?

The government made public lands available.

Mechanization reduced the need for farmers.

The telegraph lines required constant attention.

Railroad companies sold tracts of their land grants.