The United States bought a strip of land from Mexico specifically to clear the path for a southern transcontinental railroad. This acquisition secured the final route needed to connect California to the rest of the nation, accelerating western expansion and trade.