DALLAS, Dec. 30 (Ticker) -- Just the threat of Baron Davis' speed was enough to set up a game-winning shot.

Davis scored a season-high 34 points, including a long jumper with five-tenths of a second remaining, as the Golden State Warriors rallied for a 111-109 triumph over the Dallas Mavericks.

Video highlights from
Warriors-Mavericks:
Play
With the game knotted at 109-109, Davis was dribbling just beyond the 3-point arc. The speedy point guard feigned a drive to the basket, causing Dallas guard Marquis Daniels to back-pedal, and drilled the pull-up jumper just before time expired.

"Everybody in the gym knew I was going to drive the ball," Davis said. "Once I got (Daniels) on his heels, I was able to rock him. I was then able to get my feet up under me and get good lift on my shot."

Dallas had a chance to tie the contest but Jason Terry's desperation baseline shot bounced harmlessly off the back of the rim.

"Its hard to win a game in this league when you give up 111 point even though I felt like we scored enough points to win the game," Mavericks star Dirk Nowitzki said. "We had too many turnovers down the stretch and they got a couple long rebounds there at the end and made some big threes down the stretch."

"It was a tough loss, we allowed them to hang around and they just made big shots at the end," said Mavericks forward Jerry Stackhouse, who scored a season-high 19 points.

Golden State trailed by as many as 14 points and faced a 103-93 deficit with 5:36 to go. Davis began the rally by making consecutive 3-pointers and, after Daniels' jumper, Jason Richardson connected on another shot from the arc to get the Warriors within three.

"I was in a good groove tonight and I was more aggressive," Davis said. "A lot of those shots that I was making before the game, I was able to get to go down during the game."

"Baron is a superstar and I am an up-and-coming star and their will be games where we will have to step our game up and carry the team like that," Richardson said. "Tonight was just one of those nights where he had it going and I had it going, so it just ended up being us that stepped up to help us win this game."

After the teams traded a pair of baskets, Richardson, who scored 16 of his 32 points in the fourth quarter, tied the game with 40 seconds left.

"They are two of the toughest covers for anyone in the league and once they got hot we couldn't stop them," Stackhouse said. "I think both of those guys had over 30 points tonight and it's hard to beat a team when you give up that many points."

Nowitzki, who scored 24 points, had a chance to give the Mavericks the lead on the ensuing possesion but his dunk attempt was thwarted by Adonal Foyle's fourth blocked shot of the contest.

"On that last drive, I did get hit and I talked to the ref about it, but he didn't make the call so what can you do," Nowitzki said. "I will just have to go to the basket harder next time and maybe I will get the call then, but that play wasn't what caused us to lose the game. They just made more big plays than us down the stretch."