sentences:  They won the competition in 1987 beating Ajax, while they lost in 2003, to A.C. Milan.Valencia had qualified for the competition as a result of winning the 2003–04 UEFA Cup.They had beaten Marseille 2–0 in the final.