The Napoleonic era (1799–1815) brought some relief to the faltering Ottoman Empire. It distracted Russia from further advances. Napoleon invaded Egypt but his army was trapped there when the British decisively defeated the French fleet at Aboukir Bay. A peace interlude in 1803 allowed the army to return to France.