Morris Claiborne's first interception since Sept. 21, 2014 halted a 49ers drive in the red zone with just under 10 minutes left in the fourth quarter. The ensuing drive, which featured a 26-yard run by Ezekiel Elliott and a Brice Butler dropped pass in the endzone, ended with a field goal to put Dallas up by a touchdown.
Elliott rushed for 50 yards on a 10-play, 78-yard drive that gave the Cowboys a 21-17 in what has become a back-and-forth affair in California. Elliott's 1-yard score capped off the drive.
San Francisco kicked a field goal on its first drive of the second half to go up 17-14.
The Cowboys scored two touchdowns in the final three minutes of the half to tie up the game after falling down 14-0 early. Terrance Williams and Brice Butler grabbed touchdown passes from rookie Dak Prescott.
Carlos Hyde put the 49ers up by two touchdowns with a score from three yards out just over a minute into the second quarter. San Francisco converted 6-of-6 third downs through its first two drives.
San Francisco got out to an early 7-0 lead on a 33-yard touchdown pass to former TCU Horned Frog Jeremy Kerley.
Dallas came up empty on its first possession after a rare missed field goal by Dan Bailey, the most accurate kicker in NFL history. It was the first time this season the Cowboys didn't score on their first drive.
The Dallas Cowboys are in Santa Clara, Calif. for a game against the San Francisco 49ers (1-2) Sunday afternoon. Dallas will be without Dez Bryant, who suffered a hairline fracture in his knee in Week 3 and is listed as inactive for Sunday's game.
San Francisco has struggled through three weeks. The 49ers rank 29th in the league in total offensive yards per game and is in the bottom half of the league in defensive yards allowed.
Dallas ranks eighth and 11th in those categories, respectively.
Follow WFAA Sports' Joe Trahan as he live-tweets the action from California:
Copyright 2016 WFAA