During the Napoleonic wars, the "Isle de France" had become a base from which French corsairs organised successful raids on British commercial ships. The raids continued until 1810 when a strong British expedition was sent to capture the island. A preliminary attack was foiled at Grand Port in August 1810, but the main attack launched in December of the same year from Rodrigues, which had been captured during the same year, was successful.