Christian McCaffrey was thrown four passes on Sunday. He caught all four, for 161 yards and two touchdowns, and both scores covered more than 65 yards.

That is 40.3 yards a catch from a running back (ESPN called it the biggest receiving day of his career), and it is how the San Francisco 49ers won a game in which they ran 14 fewer plays than the other team. San Francisco scored three touchdowns of 66 yards or longer: McCaffrey's 74-yard catch late in the second quarter, a 70-yard run by Deebo Samuel in the third, and McCaffrey's 66-yard catch with 3:23 left that turned out to be the winning points.

The final was 49ers 46, Dallas Cowboys 40 in front of 90,763 at AT&T Stadium, according to the ESPN box score. San Francisco is 8-1. Dallas is 4-6.

Brock Purdy's 389 Yards Came on 28 Throws, and the 49ers Averaged 9.4 Yards a Play

Brock Purdy completed 22 of 28 passes for 389 yards and three touchdowns with no interception, a 154.5 passer rating. Dallas sacked him five times and it barely mattered. The 49ers gained 584 yards on 62 plays, 9.4 a snap, ran for 214 more at 7.4 a carry and did not turn the ball over.

McCaffrey added 62 rushing yards and a 16-yard touchdown run on 13 carries, so his day came to 223 yards and three touchdowns on 17 touches, plus the two-point catch after his last score. Samuel had 78 rushing yards on three carries and an 11-yard touchdown catch. Kaelon Black ran one in from 25. San Francisco also committed 11 penalties for 100 yards and still scored on seven of its 11 possessions.

Dak Prescott Threw Five Touchdowns to Three Receivers and Dallas Went 4 for 5 on Fourth Down

Dak Prescott did about everything a quarterback can do in a loss: 30 of 51 for 343 yards and five touchdowns. George Pickens caught 11 of his 18 targets for 145 yards and three scores, and CeeDee Lamb and Ryan Flournoy caught the other two. Dallas converted four of five fourth downs and ran 76 plays.

The Cowboys trailed 38-19 early in the fourth quarter and got it to 38-32 on Flournoy's 11-yard catch with 3:42 to go. San Francisco's answer took two plays and 19 seconds. Lamb's 1-yard touchdown and Prescott's two-point run made it 46-40 with 43 seconds left, and Dallas got the ball back once more, but its last possession ended on a lost fumble two plays in.

Two smaller numbers decided the margin. Brandon Aubrey, who made two 52-yard field goals, missed an extra point in the second quarter, and Dallas failed on a two-point pass in the fourth. Malik Mustapha's third-quarter interception was the only pick of the day.

The 49ers play the 7-2 Minnesota Vikings next Sunday night at Estadio Banorte in Mexico City (8:20 p.m. ET, NBC). Dallas hosts the 1-8 Tennessee Titans at 1 p.m. ET the same day.