Sweden striker Marcus Berg came off the bench to score a dramatic 85th-minute equaliser, forcing extra time
Home team Al Ain fought back from three goals down to draw 3-3 with Team Wellington before winning on penalties to reach the FIFA Club World Cup quarter-finals on Wednesday.
The Emirati outfit fell 3-0 down inside 44 minutes as Mario Barcia, Aaron Clapham and Mario Ilich scored for Oceanian champions Wellington.
But Japanese international Tsukasa Shiotani pulled one back on the stroke of half-time, before Malian midfielder Tongo Doumbia grabbed a second goal less than four minutes into the second period.
And Sweden striker Marcus Berg came off the bench to score a dramatic 85th-minute equaliser, forcing extra time.
It went all the way to penalties, but despite a miss by Berg, Al Ain won the shootout 4-3 to book a last-eight clash with CAF Champions League winners Esperance from Tunisia on Saturday.