When did Napoleon achieve his greatest victory ?
That was the aid and encouragement the British gave to the Spanish to harass the French behind their lines which led them to squander most of the assets of their Iberian army in protecting the army 's line of communications .