in the 16th century, the archipelago prospered from the atlantic slave trade. pirates occasionally attacked the portuguese settlements. francis drake, an english privateer, twice sacked the (then) capital ribeira grande in 1585 when it was a part of the iberian union. after a french attack in 1712, the town declined in importance relative to nearby praia, which became the capital in 1770.