In 1627, the newly founded Republic of Salé sent two ambassadors to London to negotiate a treaty. England was planning to turn the republic into a military base for a joint action against Spain.