In the third quarter, the 49ers retook the lead with Nedney kicking a 30-yard field goal for the only score of the period. In the fourth quarter, Arizona jumped ahead with QB Matt Leinart completing a 5-yard TD pass to WR Anquan Boldin. With time running out late in the game, QB Alex Smith led the Niners on a last-minute drive that included a 20-yard run by Alex Smith and ended with WR Arnaz Battle getting a 1-yard TD run. The Cardinals had just enough time to try a late-game comeback, but San Francisco clinched the game with CB Shawntae Spencer getting an interception for the win. Matt Leinart's first and last passes in the game were both interceptions.