David Beckham crowned five and a half years at LA Galaxy by retaining the MLS Cup with a 3-1 win over Houston Dynamo in his final game.
Houston had led at half-time through Calen Carr's fierce strike, but an Omar Gonzalez header and Landon Donovan's cool penalty turned the match around.
A second spot-kick, dispatched by Robbie Keane in injury-time, completed the victory in Los Angeles.
Beckham, 37, was then substituted to cheers and a standing ovation.
"I am sad that this is the end," said Beckham.
Beckham's top five MLS moments
Full debut v New York Red Bulls, 18 August, 2007:
60,000 turned out in New York and witnessed a thrilling match as NY won 5-4 despite three Beckham assists for LA
Two goals v Real Salt Lake, 4 May, 2008:
An outstanding curling strike from wide on the right, and the second a trademark free-kick
70-yard goal v Kansas City, 24 May, 2008:
Beckham gave MLS fans another 'wow' moment when he fired in from 70 yards with the opposition goalkeeper up for a corner
MLS Cup final, 20 November, 2011:
First silverware with a 1-0 win over the Houston Dynamo in which Beckham and Robbie Keane helped tee up Landon Donovan to score the winner
Two goals v Portland, 14 July, 2012:
Scored two goals in the space of five minutes to turn a 1-0 deficit into a 2-1 lead. The first a curling strike from nearly 30 yards out. Minutes later, he curled in a trademark free-kick to send Los Angeles on their way to a 5-3 win.
"This is a very special place for me and it will continue to be. I am happy to have been part of this club for six years and I am grateful to have been successful for the last four years.
"I may not play here anymore but I remain just as committed to growing this club, this league and this sport."
Beckham has been linked with moves to Paris St Germain and Monaco, but insisted that he had "no idea" where he would be playing next.
It is the second time he has lifted the MLS Cup - LA Galaxy beat the same opponents 1-0 in last year's showpiece.
The former England captain also appeared in the 2009 final when Galaxy were beaten in a penalty shoot-out by Real Salt Lake.
Beckham came close to a fairytale ending, but lacked the yard of pace required to get on the end of an inviting cross in the final 10 minutes.
Instead the former England captain was removed by coach Bruce Arena in the dying moments, embracing both team-mates and opponents as he headed to the sidelines.
Beckham, who made a record 115 outfield appearances for England, was part of the Manchester United side that famously beat Bayern Munich to win the 1999 Champions League.
He left Old Trafford for Real Madrid in 2003,
before agreeing his move to LA Galaxy
in January 2007 and making his debut for the franchise in August in that year.
He attracted criticism from some Galaxy fans after agreeing loan moves to AC Milan in 2009 and 2010
which meant missing some of the MLS season.
But, before lifting the trophy draped in a union flag, his final post-match interview was met by universal acclaim from the home fans.