Caretaker boss Tony Adams saw his Granada side relegated from LaLiga after suffering a 2-1 defeat at Real Sociedad.
Former England captain Adams had been parachuted into the dugout from his role as sporting director by Chinese owner Jiang Lizhang following a poor run under Lucas Alcaraz.
However, Adams found it impossible turn around his team's fortunes and a fourth straight defeat under the 50-year-old confirmed Granada's relegation with three games of the season remaining.
Adams did at least see his side score for the first time since he took over on April 10, Adrian Ramos heading a 65th-minute equaliser from Dimitri Foulquier's cross after former Arsenal forward Carlos Vela had put the home side in front on the stroke of half-time.
The visitors needed to win all of their remaining games to have a chance of survival but could not even hang on for a point, with Juanmi latching onto a pass from Sergio Canales to score the winner six minutes from time and condemn Granada to their ninth defeat in the last 10 games.