GREEN BAY, Wis. (AP) — San Francisco’s defense smothered Aaron Rodgers and the Green Bay offense for most of the game, then made one last stand to stop a late rally as the 49ers beat the Packers 30-22 on Sunday.

Randall Cobb got the Packers close with a 75-yard punt return for a touchdown, and a 2-point conversion cut the lead to 8. But Rodgers threw an interception to linebacker NaVorro Bowman and Frank Gore ran for a 23-yard touchdown.

READ MORE: Man Stabbed On CTA Blue Line Train Near Irving Park Stop

Rodgers threw a touchdown to James Jones, again cutting the lead to 8, but the 49ers held the Packers in the final minute.

READ MORE: Jussie Smollett Trial: Jury Could Get Case As Trial Resumes Monday

Things went so well for the 49ers that when David Akers tried a 63-yard field goal at the end of the first half, it bounced off the crossbar and then kept going through the uprights to tie an NFL record.

MORE NEWS: Delivery Driver Shot In Head In Back of The Yards; 18-Year-Old Struck In Thigh

(© 2012 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.)