A third phase in slaving took place between 1659 and 1661 from Tanjavur as a result of a series of successive Bijapuri raids. At Nagapatnam, Pulicat, and elsewhere, the company purchased 8,000–10,000 slaves, the bulk of whom were sent to Ceylon while a small portion were exported to Batavia and Malacca. A fourth phase (1673–77) started from a long drought in Madurai and southern Coromandel starting in 1673, and intensified by the prolonged Madurai-Maratha struggle over Tanjavur and punitive fiscal practices. Between 1673 and 1677, 1,839 slaves were exported from the Madurai coast alone. A fifth phase occurred in 1688, caused by poor harvests and the Mughal advance into the Karnatak. Thousands of people from Tanjavur, mostly girls and little boys, were sold into slavery and exported by Asian traders from Nagapattinam to Aceh, Johor, and other slave markets. In September 1687, 665 slaves were exported by the English from Fort St. George, Madras. Finally, in 1694–96, when warfare once more ravaged South India, a total of 3,859 slaves were imported from Coromandel by private individuals into Ceylon.