The French East India Company established a trading post at Pondicherry in 1674 under François Martin. Pondicherry was captured by the Dutch in 1693 during the Nine Years' War. However, it was returned to the French by the Treaty of Ryswick in 1697, after which it grew significantly under French control as their main settlement in India.