Philip initially fought on hoping for improved peace terms to those on offer, but as the situation in France deteriorated, the Spanish made substantial gains in the Netherlands, including the recapture of Ypres. In 1650, the French backed Neapolitan Revolt was crushed, but by the end of the year the French backed Catalan rebels had control of Barcelona. With the end of the Fronde, Mazarin forced Condé into exile in the Spanish Netherlands, where he signed an alliance with Philip. He was replaced by Turenne, also a talented commander, but far less powerful politically.