Croatia kept alive their hopes of reaching the Nations League finals after a stoppage-time winner by left back Tin Jedvaj gave them a 3-2 win over Spain in an electrifying Group 4 clash on Thursday.
Spain stayed top of the group with six points from four games but their fate is no longer in their own hands as England and Croatia, who have four each from three matches, clash at Wembley on Sunday.
The winners of that game would finish top and reach the 2019 final four while only a draw would see the Spaniards retain top spot.
Jedvaj emerged as Croatia's hero with his first two international goals, sending the home crowd into raptures with his second when he swept home a rebound after Spain had twice come from behind.
Striker Andrej Kramaric fired the hosts ahead in the 56th minute, only for Dani Ceballos to equalise with his first goal for Spain barely two minutes later.
Jedvaj restored Croatia's advantage with a close-range header in the 69th minute before Sergio Ramos converted a penalty in the 78th to bring Spain level again.
Victory avenged Croatia's 6-0 drubbing by Spain in the reverse fixture and their coach Zlatko Dalic feels confident his World Cup runners-up can win the group.
"We have to enjoy it and give it our best shot as I am sure we have it in us to beat England," he told Croatian media.
"It was a great match. Five goals, a rollercoaster and in the end we deserved to win. The lads went all out for a win, they all went forward in the dying minutes and the gamble paid off handsomely.
"The best of this new-look team is yet to come," said Dalic, who oversaw Croatia's 2-1 World Cup semi-final win over England in July.
The visitors had the upper hand early in the second half but fell behind after a calamitous error by Sergi Roberto, who gave the ball away to Ivan Perisic and the winger released Kramaric to beat David De Gea with a crisp finish from eight metres.
Croatia's joy was short-lived as Ceballos swept the ball home from six metres after good work by Isco and Iago Aspas.
Jedvaj, playing in an unfamiliar position as he is normally deployed on the opposite flank, made it 2-1 with a firm far-post header after an inch-perfect cross by Luka Modric.
Spain came storming back and equalised after Sime Vrsaljko twice handled the ball and Ramos sent goalkeeper Lovre Kalinic the wrong way with a calm spot kick.
Chances went begging at both ends and Spain looked more likely to score before Croatia forced the final twist.
De Gea could only parry substitute Josip Brekalo's low shot and Jedvaj popped up again at the far post to hammer in the rebound.