As the Spanish re-focused their colonization efforts on the greater riches of mainland Central and South America, Hispaniola became reduced largely to a trading and refueling post. As a result piracy became widespread, encouraged by European powers hostile to Spain such as France (based on Île de la Tortue) and England. The Spanish largely abandoned the western third of the island, focusing their colonization effort on the eastern two-thirds. The western part of the island was thus gradually settled by French buccaneers; among them was Bertrand d'Ogeron, who succeeded in growing tobacco and recruited many French colonial families from Martinique and Guadeloupe. In 1697 France and Spain settled their hostilities on the island by way of the Treaty of Ryswick of 1697, which divided Hispaniola between them.