Gareth Bale scored a last-minute equaliser in extra time before Los Angeles FC beat Philadelphia Union on penalties to win the MLS Cup.
The Wales captain had been named on the bench for the game after recovering from a leg injury.
He came on in the 97th minute before heading in to make it 3-3 right at the death, minutes after Philadelphia had scored.
LAFC then won the shootout 3-0 to win the title for the first time.
“It’s always nice to score in finals, and I seem to have a knack for doing that,” said Bale. “It’s big. It’s important for the club. It’s important for the fans.”
Bale’s return to fitness and his significant contribution to the win comes at a good time for Wales, who name their World Cup squad on Wednesday before the tournament in Qatar starts on 20 November.
In what was arguably one of the most memorable games in Major League Soccer history, LAFC had taken the lead in the first half when Kellyn Acosta struck with a deflected free-kick.
Daniel Gazdag equalised midway through the second half when he stopped a low shot from distance to fire in from close range.