The Spaniard’s contract had been due to expire at the end of the 2026/27 season.