The Rams have not beaten the 49ers in the regular season since 2018.
With both Los Angeles and San Francisco resting several players in preparation for the postseason, Rams backup quarterback Carson Wentz came up in crunch time to give Los Angeles a 21-20 win.
The win also gave the Rams the No. 6 seed in the NFC. With the rest of Sunday afternoon's results, that means Los Angeles will head to Detroit to play the Lions in the wild card round next weekend.
In his first start with the Rams, Wentz used his legs to help propel the club to victory. He rushed 17 times for 56 yards, including a 12-yard run with 4:56 remaining in the fourth quarter trailing Los Angeles 20-19. The Rams went for two and Wentz faked a running look before finding Tutu Atwell in the end zone for a successful conversion.
San Francisco had two more late chances, including a possession starting at its own 22 with 55 seconds left. But quarterback Sam Darnold — who was playing for Brock Purdy — was sacked by defensive end Dejuan Johnson. Outside linebacker Byron Young recovered the loose ball to seal the win for Los Angeles.
Wentz completed 17 of 24 passes for 163 yards with two touchdowns and an interception.
Puka Nacua set single-season rookie records for receptions (105) and receiving yards (1,486) with his four catches for 41 yards with a touchdown.
On the flip side, Darnold was 16 of 26 for 189 yards with a touchdown. Elijah Mitchell led the way with 52 yards on 14 carries.
After finishing 5-12 last season, the Rams finished the 2023 season 10-7 with a playoff berth. They will now wait to see how much time slot they will have for next weekend's game against Detroit.
As the No. 1 seed in the NFC, the 12-5 49ers will wait for the lowest remaining seed in the conference for the divisional round.
“Alcohol enthusiast. Twitter ninja. Tv lover. Falls down a lot. Hipster-friendly coffee geek.”