Isle de France, which consisted of Mauritius and some other islands had been under French rule since 1715. However, during the Napoleonic Wars, despite the French naval victory in the Battle of Grand Port on 20–27 August 1810, Mauritius was captured on 3 December 1810 by the British under Commodore Josias Rowley. British possession of the island was confirmed four years later by the Treaty of Paris in 1814. Nonetheless, French institutions, including the Napoleonic Code of law, were maintained, and the French language was still more widely used than English.