New York City FC has won the MLS Cup, defeating the Portland Timbers in a thrilling final that was decided by penalty kicks.

Heading into the match’s final moments, New York appeared to have the Cup clinched, leading 1-0.

But on the final attempt of regulation, Portland drew even, scoring the latest goal in regulation in MLS Cup history.