In 1846, the Mallarino–Bidlack Treaty, negotiated between the US and New Granada, granted the United States transit rights and the right to intervene militarily in the isthmus. In 1848, the discovery of gold in California, on the West Coast of the United States, generated renewed interest in a canal crossing between the Atlantic and Pacific oceans. William H. Aspinwall, who had won the federal subsidy to build and operate the Pacific mail steamships at around the same time, benefited from the gold discovery. Aspinwall's route included steamship legs from New York City to Panama, and from Panama to California, with an overland portage through Panama. This route with an overland leg in Panama was soon frequently traveled, as it provided one of the fastest connections between San Francisco, California, and the East Coast cities, about 40 days' transit in total. Nearly all the gold that was shipped out of California went by the fast Panama route. Several new and larger paddle steamers were soon plying this new route, including private steamship lines owned by American entrepreneur Cornelius Vanderbilt that made use of an overland route through Nicaragua.