(CNN) -- David Beckham has pledged his future to the Los Angeles Galaxy and says that victory in Sunday's MLS Cup final against Real Salt Lake would rank alongside other career achievements such as winning the Champions League with Manchester United.
The English midfielder's future in the U.S. had appeared in doubt earlier in the season when his commitment was called into question following a loan spell with AC Milan during which he had indicated an apparent desire to continue playing in Italy.
In July Beckham had to be restrained by security guards during a match as he attempted to confront Galaxy fans who had been jeering him. But Beckham's fortunes have been turned around by the Galaxy's run through the playoffs to Sunday's championship match in Seattle.
The 34-year-old is due to return to Milan in January for another loan spell as he bids to secure a place in England's World Cup squad for next year's finals in South Africa. But he told CNN there was "no chance whatsoever" that he wouldn't return to Los Angeles.
"I am committed to the Galaxy for five years. I am committed to the MLS because I've said I want to be an ambassador and bring this game to a higher level. I have always honored whatever contract I've got," Beckham said.
"Once I've been in Milan and hopefully been part of the World Cup I'll be coming back to the MLS and to the Galaxy to start playing again."
Beckham said that playing in Sunday's final ranked alongside winning the Primera Liga title with Real Madrid in 2003 and a trophy-laden spell at Manchester United that included six English Premier League titles and the 1999 Champions League crown.
"Anytime you reach a certain part of the season, whether it's being in a cup final or winning leagues, it's always special," Beckham said. "Being involved in finals never gets old."