Portugal's restoration of independence freed it to pursue the course mapped out by the pioneers of commercial imperialism. During the 17th century, its economy depended largely upon entrepôt trade in tobacco and sugar and the export of salt. During the 18th century, staples were not abandoned, but the Portuguese economy came to be based more upon slaves, gold, leather and wine. Portuguese trade was centted in the busy port of Lisbon and influenced especially by Anglo-Dutch capitalism and the colonial economy in Brazil.