Following a breakdown between Benítez and Valencia's sporting director Jesús García Pitarch, the former left his position at the club and was replaced by Italian manager Claudio Ranieri for the 2004–05 season. A combination of injury concerns and tactical changes from the manager saw Aimar struggle under Ranieri and found himself being as employed as a substitute more frequently than before. The Italian departed the club in February and was replaced by Antonio López, who in turn was replaced by Quique Sánchez Flores for the following season. With Valencia in decline, Aimar decided to leave the club at the end of the 2005–06 season having amassed over 200 appearances for the club over the course of five-and-a-half seasons.