DETROIT (AP) - Alex Smith's fourth-down, 6-yard pass to Delanie Walker gave San Francisco the go-ahead touchdown with 1:51 left, lifting the 49ers to a 25-19 win over the previously unbeaten Detroit Lions.
The play stood after video review.
Detroit had a chance to drive for a tying field goal or a go-ahead TD, but couldn't get a first down against a swarming defense that hit and confused quarterback Matthew Stafford from the start.
David Akers gave San Francisco (5-1) a six-point lead with 1:02 to go with a 37-yard field goal.
The Lions (5-1) had one last shot and came up woefully short. Then San Francisco coach Jim Harbaugh and Detroit coach Jim Schwartz had to be separated on the field after the game. Harbaugh seemed to say something that fired up Schwartz, and they bumped into each other on the field.
Packers 24, Rams 3
GREEN BAY, Wis. (AP) - Aaron Rodgers threw three touchdowns, including a career-long 93-yarder to Jordy Nelson, and Green Bay now stands as the NFL's only undefeated team.
Rodgers threw for 310 yards for the Packers (6-0). The Lions were the only other unbeaten team entering the day, but lost to the 49ers.
James Jones and Donald Driver also caught touchdowns from Rodgers, although the Packers offense hit a lull and didn't score in the second half.
Sam Bradford was 28 of 44 for 321 yards with an interception for the winless Rams (0-5), who were coming off their bye week.
Rams running back Steven Jackson had 18 carries for 96 yards.
Rodgers did throw his third interception of the season, a tipped ball in the fourth quarter.
Giants 27, Bills 24
EAST RUTHERFORD, N.J. (AP) - Ahmad Bradshaw ran for 104 yards and a career-best three touchdowns and Lawrence Tynes kicked a go-ahead 23-yard field goal with 1:32 remaining for New York.
Bradshaw scored on three 1-yard runs and had a 30-yard run to help set up Tynes' winner as the Giants (4-2) rebounded from a bad loss to Seattle last weekend by limiting the high-scoring Bills (4-2) to seven second-half points.
Ryan Fitzpatrick (21 of 30 for 244 yards) threw touchdown passes of 60 yards to Naaman Roosevelt and 9 yards to Stevie Johnson, but his final attempt was batted down by Jason Pierre-Paul on a fourth-and-5 from the Bills 25 to preserve the win.
Fitzpatrick also was intercepted twice by Corey Webster, with the last starting the possession that led to the winning kick.
Patriots 20, Cowboys 16
FOXBOROUGH, Mass. (AP) - Tom Brady threw an 8-yard touchdown pass to Aaron Hernandez with 22 seconds left to rally New England.
Dan Bailey's 26-yard field goal had broken a 13-13 tie with 5:13 left. Each team ran one series before the Patriots got the ball after a punt with 2:30 remaining. Brady then completed eight of nine passes for 78 yards on an 80-play drive capped by his pass to Hernandez in the middle of the end zone.
New England (5-1) won despite its first two lost fumbles of the season and Brady's two interceptions. Dallas dropped to 2-3.
Raiders 24, Browns 17
OAKLAND, Calif. (AP) - Jacoby Ford returned a kickoff 101 yards and Kevin Boss caught a 35-yard touchdown pass on a fake field goal to lead Oakland in its first home game since the death of longtime owner Al Davis.
It was an emotional day with many old-time Raiders coming back to honor Davis, the man who had been the face of the franchise for nearly a half-century before dying Oct. 8 of an undisclosed illness at age 82.
The most poignant moment came during a halftime ceremony with dozens of former players standing in a circle around the Raiders emblem at midfield. Super Bowl-winning coach John Madden lit a caldron on the plaza level in the corner of the stadium.
On a day full of tributes, the one Davis would have appreciated most is the one on the scoreboard as the Raiders (4-2) beat the Browns (2-3).
Ravens 29, Texans 14
BALTIMORE (AP) - Joe Flacco threw for 305 yards and ran for a score, Billy Cundiff kicked five field goals for Baltimore (4-1).
The Ravens did just enough on defense to earn their third straight win. Baltimore held Houston scoreless over the final 21 minutes and limited standout running back Arian Foster to 49 yards on 15 attempts.
Flacco had two turnovers, but he also had completions of 51 yards and 56 yards to put Cundiff in position to score. Cundiff connected from 43, 48, 25, 33 and 40 yards to tie a Ravens record for field goals in a game.
Flacco completed 20 of 33 passes and Anquan Boldin had eight catches for 132 yards.
Even though the Texans (3-3) were without wide receiver Andre Johnson and linebacker Mario Williams, they trailed only 19-14 until a 4-yard touchdown run by Ricky Williams with 4:01 left.
Buccaneers 26, Saints 20
TAMPA, Fla. (AP) - Josh Freeman threw for 303 yards and two touchdowns and Earnest Graham rushed for 109 yards in place of injured starter LeGarrette Blount.
The win pulled the Bucs (4-2) into a first place tie with the Saints in the NFC South and snapped New Orleans' four-game winning streak.
The Saints had a chance to take the lead late, but quarterback Drew Brees was intercepted in the end zone on a fourth-down pass.
Brees became the first passer with four consecutive 350-yard games, but also threw three interceptions.
Tampa's defense also held New Orleans under 30 points for only the second time this season and shut down New Orleans' rushing attack.
Eagles 20, Redskins 13
LANDOVER, Md. (AP) - Michael Vick threw for 237 yards and a touchdown, Kurt Coleman had three interceptions and Philadelphia snapped a four-game losing streak.
The Eagles raced to a 20-0 lead in the second quarter and held on to beat the Redskins for the 10th time in 12 tries at Washington.
LeSean McCoy rushed for 126 yards and a touchdown as Philadelphia improved to 2-4 and at last started to resemble - at least somewhat - the team picked to win the NFC East.
The Redskins dropped to 3-2.
Washington's Rex Grossman was benched after throwing his fourth interception late in the third quarter. He was replaced by John Beck, who made his first appearance since 2007 and led the Redskins' only touchdown drive.
Bengals 27, Colts 17
CINCINNATI (AP) - Nate Clements blocked a late field goal try that would have tied the game, and Carlos Dunlap returned a Colts fumble 35 yards for the clinching score to Indianapolis winless after six games.
The Bengals (4-2) matched their victory total from last season and ended a seven-game losing streak against the Colts, who had never lost to Cincinnati with Peyton Manning at quarterback. Manning was on the sideline again Sunday, watching helplessly as the Colts fell to 0-6 for the fifth time in franchise history.
Curtis Painter rallied Indy from a 20-7 deficit in the second half, getting the Colts in range for Adam Vinatieri's 52-yard field goal try to tie with 5:38 left. Clements swatted it away.
After the Bengals missed a field goal, Pierre Garcon was stripped of the ball after a reception and Dunlap ran it back to finish it off.
Falcons 31, Panthers 17
ATLANTA (AP) - Michael Turner ran for 139 yards and two touchdowns, Matt Ryan scored the tie-breaking TD with 7 minutes remaining, and Corey Peters came up with a huge interception.
Cam Newton, who grew up just a few miles south of the Georgia Dome, wowed the crowd most of the day. He threw for 237 yards and ran for a 14-yard touchdown that put the Panthers (1-5) ahead 17-14 heading to the final quarter.
Atlanta (3-3) responded with Matt Bryant's tying field goal and Ryan's 1-yard sneak. Then Newton made his biggest mistake of the day, throwing a screen pass that was picked off by Peters, a 305-pound defensive tackle. The Falcons drove for Turner's clinching touchdown with 1:56 left.
Steelers 17, Jaguars 13
PITTSBURGH (AP) - Rashard Mendenhall ran for a season-high 146 yards and a touchdown and the Steelers narrowly avoided a second-half collapse.
Ben Roethlisberger passed for 200 yards and a score for the Steelers (4-2), who won for the fourth time in five games.
Maurice Jones-Drew rushed for 96 yards for the Jaguars (1-5), who have dropped five straight to match the franchise's longest losing streak in a decade.
Jacksonville rookie quarterback Blaine Gabbert remained winless as a starter, completing 12 of 26 passes for 109 yards and a TD on the day after his 22nd birthday. Gabbert's heave into the end zone on the game's final play was knocked down by Pittsburgh's William Gay.
Bears 39, Vikings 10
CHICAGO (AP) - Devin Hester set the tone with a 48-yard touchdown catch and scored on a career-best 98-yard kickoff return before leaving with a chest injury, and Chicago routed Minnesota.
Jay Cutler threw for 267 yards and two touchdowns without an interception. Julius Peppers had two sacks, and the Bears (3-3) held Vikings star Adrian Peterson to 39 yards rushing.
That 48-yard TD pass from Cutler on Chicago's first possession got the Bears started quickly as they grabbed a 26-3 halftime lead. Hester's kickoff return early in the third quarter erased any chance the Vikings had at a comeback.
Peterson had just scored on a 4-yard run for the Vikings (1-5) when Hester took the kickoff and turned to his right. He was touched maybe once on the way to the end zone, making it 33-10. It was his first kickoff return for a touchdown since Nov. 25, 2007, against Denver.
Minnesota's Donovan McNabb threw for 177 yards, completing 19 of 24 passes before being lifted for Christian Ponder.