OAKLAND, Calif., April 12 (Ticker) -- The Golden State Warriors had lost nine in a row and had little left to play for. The Dallas Mavericks were on a five-game winning streak with each game critical in their quest for the top spot in the Western Conference.

None of that seemed to matter Wednesday as the Warriors got 25 points from Jason Richardson in a 114-102 victory over the Mavericks, who fell 1 1/2 games behind San Antonio in the race for the No. 1 seed in the West.

NBA TV highlights from
Rookies Ike Diogu and Monta Ellis combined for 34 points off the bench for Golden State, which avoided its first 10-game losing streak since March 9-24, 2002.

The Warriors won for the third time in four meetings between the teams this season, a fact that will prove costly for Dallas (59-20) if it falls short of San Antonio and finishes with the fourth seed in the playoffs.

Playing the second leg of a three-game road trip, the Mavericks appeared primed to trim their deficit to the Spurs by taking a 27-19 lead after one quarter. But they were outscored, 95-75, thereafter and suffered their fourth loss in six road games.

Ellis gave Golden State the lead for good with a 3-pointer late in the third quarter that snapped a 74-74 tie. Diogu ended the period with a three-point play to make it 82-78 and opened the scoring in the fourth with a jumper.

After Erick Dampier scored to pull Dallas within 86-82 with just over nine minutes left, Richardson buried a 3-pointer on the other end to start a 20-7 run that put away the game.

Richardson capped the burst with a free throw to give the Warriors their largest lead at 106-89 with 2:42 left.

Diogu made 12-of-13 free throws and Ellis finished with a season-high 17 points for Golden State, which ended a five-game slide at home.

Dirk Nowitzki scored 18 of his 29 points in the first half and grabbed 10 rebounds to pace the Mavericks, who finish their trek at Phoenix on Thursday.