Phil Dawson booted a 23-yard field goal in overtime, lifting the host San Francisco 49ers to a 19-16 win over the Rams at Levi's Stadium in the regular-season finale for both squads.
It was the fourth field goal of the day for the 40-year-old Dawson, who helped the 49ers snap a three-game losing streak for a 5-11 finish. The Rams, who entered with a three-game win streak, finish 7-9 and again fail to reach the .500 mark.
The Rams' last non-losing season came in 2006, when they finished 8-8.
In overtime, the Rams forced a punt and moved into field goal range, thanks to key passes from Case Keenum to Kenny Britt (18 yards) and Benny Cunningham (13 yards).