The San Francisco 49ers have clinched a first round bye in the NFL playoffs with a 34-27 victory over the St. Louis Rams.
The 49ers finished the regular season with a 13-3 record..
The 49ers had already secured the NFC West division title.
Meanwhile Tom Brady has become the third quarterback to pass for over 5,000 yards in a season as he rallied the New England Patriots to a 49-21 win over the Buffalo Bills that has secured home-field advantage throughout the AFC playoffs.
Brady finished with 338 passing yards and three touchdowns and moved ahead of Hall of Famer Dan Marino into second place in the single-season passing record.
Last week, New Orleans Saints quarterback Drew Brees broke Marino's record of 5,084 yards, which he established in 1984.