The soldiers who discovered the stone were part of Napoleon Bonaparte's 1798 campaign in Egypt. It was given to the British as part of the surrender arrangements when French forces were caught in Alexandria by the Battle of the Nile and a larger force of British and Ottoman troops. The surrender and treaty is called the Capitulation of Alexandria. Under the treaty, the French had to hand over their archaeological discoveries to the British, and that included the Rosetta Stone.