With the help of the pirates who made the town their base , Port Royal became a very rich city , with the income from sugar and rum combined with stolen Spanish treasure ( see page 18 ) .
The pirates had helped make the town their base .