David Beckham and Juninho scored to help the Los Angeles Galaxy to a 2-1 comeback win over FC Dallas on Sunday night in the last round of the MLS regular season.
The Galaxy will face Seattle in the playoffs after finishing with the league's best record.
Atiba Harris scored for Dallas, which will play defending MLS Cup champion Real Salt Lake.
Juninho broke a 1-1 deadlock a minute into the second half with a volley from 18 years. Dallas defender Zach Loyd headed Landon Donovan's aerial pass to Juninho.
Harris had given Dallas a 1-0 lead in the 22nd minute with a 5-yard header from Eric Alexander's left-wing cross. Beckham equalized in the 33rd.
Donovan pushed Dallas' Jackson Goncalves away to steal the ball near the left corner and passed to Beckham, who fired a low 23-yard shot between goalkeeper Dario Sala and the left post.
Edson Buddle had two chances to level San Jose's Chris Wondolowski for most goals in the season.
But in the 67th minute, Sala used his right hand to block Buddle's 7-yard header off Beckham's corner kick.
In the 68th, Sala dropped Beckham's corner kick but Buddle shot the loose ball wide of the right post.
Wondolowski finished with 18 goals.
Crew 3, Union 1
At Columbus, midfielder Eddie Gaven set up a penalty and assisted on another goal and made two saves in a late stint as backup goalkeeper to help the Crew beat Philadelphia.
Gaven took over as goalkeeper in the 86th minute after William Hesmer had to leave the match following a collision with Union defender Danny Califf.
Hesmer broke his right shoulder in the collision and will be out for the playoffs. Andy Gruenebaum is expected to take over when the Crew play Colorado this week.
The Crew had already used their three substitutes, so Gaven was forced to play in goal.
The Union's Sebastien Le Toux made it 3-1 in the 87th minute with a strike from 20 yards that went through Gaven's gloves.