OAKLAND, Calif. -- Derek Carr threw a 2-yard touchdown pass to Michael Crabtree with no time remaining, lifting the Oakland Raiders to a stunning 31-30 victory against the Kansas City Chiefs on Thursday night at the Oakland-Alameda County Coliseum.
The Raiders marched 85 yards in 11 plays for Carr's touchdown pass, tying the game 30-30. Giorgio Tavecchio kicked the extra point.
Carr threw what was initially ruled to be a 29-yard touchdown pass to tight end Jared Cook with 16 seconds left. However, after a review, Cook was ruled to be down by contact inside the 1.
Crabtree then caught a 1-yard touchdown pass with three seconds left, but he was flagged for offensive pass interference. Carr threw incomplete on the next play, but Chiefs safety Ron Parker was penalized for holding. A holding call on Chiefs safety Eric Murray on another Carr incompletion extended the game for one more play, with the clock at 0:00.
Carr hit Crabtree in the left corner of the end zone.
Carr completed 29 of 52 passes for 417 yards and three touchdowns as the Raiders (3-4) snapped a four-game losing streak this season and a five-game skid against the Chiefs (5-2), who lost their second straight.
Raiders wide receiver Amari Cooper caught 11 passes for 210 yards and two touchdowns. Cook added six catches for 107 yards.
Alex Smith was 25 of 36 for 342 yards and three touchdowns for the Chiefs. Kansas City wide receiver Tyreek Hill caught six passes for 125 yards and a 64-yard touchdown. Running back Kareem Hunt rushed for 87 yards on 18 carries and caught four passes for 30 yards. He registered his seventh straight game with at least 100 combined yards from scrimmage.
Raiders running back Marshawn Lynch was ejected from the game with 5:48 left in the first half for making contact with an official during a scrum on the field that erupted after Chiefs cornerback Marcus Peters had a late hit on Carr. Lynch carried two times for 9 yards.
The Raiders took the second-half kickoff and drove 85 yards to take a 21-20 lead on DeAndre Washington's 4-yard touchdown run with 10:45 left in the third quarter
Kansas City moved back ahead 27-21 on Smith's 63-yard touchdown pass to wide receiver Albert Wilson with 7:08 left in the third. Raiders cornerback Keith McGill II tipped the ball, but Wilson caught the deflection at the 10 and raced into the end zone.
Harrison Butker's 37-yard field goal increased the Chiefs' lead to 30-21 with 47 seconds left in the third quarter.
Oakland cut Kansas City's lead to 30-24 left to play on a 26-yard field goal by Tavecchio, who had missed from 45 yards and had a 53-yarder deflected at the line of scrimmage in the second quarter.
Middle linebacker NaVorro Bowman, who signed with the Raiders as a free agent this week after being released by San Francisco, started against Kansas City.
The Chiefs struck first, taking a 3-0 lead on Butker's 53-yard field goal with 10:14 left in the first quarter.
Carr answered with a 38-yard touchdown pass to Cooper on a flea-flicker as the Raiders took a 7-3 lead with 8:11 left in the first.
Kansas City regained the lead at 10-7 on Smith's 10-yard touchdown pass to Travis Kelce, capping an 82-yard drive.
On their next drive, the Raiders surged back ahead 14-10 with 40 seconds left in the opening quarter on Carr's second touchdown pass of the night to Cooper, this one for 45 yards. Cooper broke wide open on a crossing route, and Carr hit him in stride.
Kansas City responded with Smith's 64-yard touchdown pass to Hill, putting the Chiefs ahead 17-14 with 8:51 left in the half. The speedy Hill ran past Raiders cornerback David Amerson, grabbed Smith's pass at the 20 and outran free safety Reggie Nelson to the end zone.
Butker drilled a 39-yard field goal with 1:06 left in the first half, making it 20-14.
NOTES: Raiders starting RT Marshall Newhouse (foot) was inactive. Vadal Alexander started in his place. ... Chiefs starting C Mitch Morse (foot) and RG Laurent Duvernay-Tardif (knee) were inactive. Zach Fulton started at center, and Cameron Erving played right guard.