lives of unsurpassed indulgence as they built the transcontinental railroad nearly one hundred and fifty years ago , using borrowed funds that were repaid through the sale of land given as a gift to them by the united states government .