From 1869 onwards, São Paulo was connected to the port of Santos by the Railroad Santos-Jundiaí, nicknamed The Lady.
By the time Brazil became a republic on November 15, 1889, coffee exports were still an important part of São Paulo's economy.