By 1850, the fastest and most popular sea route consisted of three parts: a steamship from New York to Chagres; overland across the Isthmus; and a steamship from Panama City to San Francisco. Over 6,000 miles and 33 to 35 days, travelers faced malaria, yellow-fever, and highway robbers.