In April, Wellington besieged Almeida. Masséna advanced to its relief, attacking Wellington at Fuentes de Oñoro (3–5 May). Both sides claimed victory but the British maintained the blockade and the French retired without being attacked. After this battle, the Almeida garrison escaped through the British lines in a night march. Masséna was forced to withdraw, having lost a total of 25,000 men in Portugal, and was replaced by Auguste Marmont. Wellington joined Beresford and renewed the siege of Badajoz. Marmont joined Soult with strong reinforcements and Wellington retired.