Gregory Fisher-USA TODAY Sports

James Cook rushed for a career-high 179 yards and totaled two touchdowns to propel the host Buffalo Bills to a 31-10 victory over the Dallas Cowboys on Sunday in Orchard Park, N.Y.

Cook reeled in an 18-yard touchdown pass from Josh Allen early in the second quarter and rushed for a 24-yard score early in the fourth. The second-year running back also set career-high totals in carries (25) and scrimmage yards (221).

Allen, who threw for just 94 yards, passed for a touchdown and rushed for another for an NFL-record 10th game in a single season. He bullied his way in from 1 yard out with 1:36 left in the second quarter to set the record he previously shared with Arizona Cardinals quarterback Kyler Murray (2020).

The Bills (8-6) posted their second straight win by limiting the Cowboys' top-ranked scoring offense to just 195 total yards and 14 first downs.

Dallas' Dak Prescott threw for just 134 yards and an interception and CeeDee Lamb rushed for a 3-yard touchdown.

The Cowboys (10-4) clinched a postseason berth for the third straight season prior to the game. They punched their ticket after the Atlanta Falcons dropped a 9-7 decision to Carolina Panthers earlier on Sunday.

In addition to the lopsided result, Dallas also lost All-Pro right guard Zack Martin to a left quadriceps injury early in the first quarter. He was injured on a hit by Greg Rousseau and was ruled out for the contest after halftime.

Penalties proved costly for Dallas. The Cowboys committed a personal foul on each of Buffalo's three touchdown drives in the first half.

DeMarcus Lawrence's roughing the passer penalty on third-and-4 extended the Bills' opening drive. Latavius Murray capped it off by pushing his way into the end zone from 2 yards out to open the scoring.

Sam Williams' roughing the punter penalty extended another drive for Buffalo, which capped it off with Cook's touchdown reception.

Rookie Brandon Aubrey drilled a 32-yard field goal to put the Cowboys on the board midway into the second quarter. Jayron Kearse's unnecessary roughness penalty then gave Buffalo a first down on a drive that Allen polished off with his legs.

Tyler Bass made a 23-yard field goal to cap a 15-play, 65-yard drive with 2:36 remaining in the third quarter.

More must-reads:

TODAY'S BEST
Knicks shut down Celtics late in comeback Game 1 OT win
Watch: Aaron Gordon's game-winner stuns Thunder in Game 1
Watch: Missed tripping call aids Maple Leafs in Game 1 win
Ravens downplay Justin Tucker's release with a tone-deaf statement
Why Cavs HC Kenny Atkinson might not want to celebrate COY win
Spurs' Gregg Popovich embracing new role with team after retiring as HC 
Michigan HC Sherrone Moore to be suspended two games
Scottie Scheffler sticks it to Phil Mickelson with emphatic win in Texas
Sporting Kansas City joins the pantheon of impossible MLS victories
Patriots legends rip Giants' Abdul Carter over Lawrence Taylor number request
NASCAR power rankings: Defending champion rises after surprising Texas triumph
Closest MLB-ready prospect for each AL team
Padres' bats come alive in eighth to steal win at rainy Yankee Stadium 
Watch: Mets 1B Pete Alonso crushes 425-foot HR
Watch: Dodgers' Shohei Ohtani blasts HR where he created '50-50' club
Islanders climb nine spots to No. 1 pick with stunning lottery win
Oilers get good news and bad news on Mattias Ekholm
Astros place key slugger on injured list
'It makes sense': Steelers see new Aaron Rodgers conspiracy theory emerge as team waits for 2025 decision
Marc-Andre Fleury joining Canada for World Championship

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.