In 1670, England and Spain signed the Treaty of Madrid. Among other things, it called for England to condemn piracy—no more privateer licenses, no more safe havens, no more markets for stolen Spanish goods. In return, Spain made concessions to English trade and shipping.