The San Francisco 49ers pulled off a comeback victory to defeat the Los Angeles Rams and make the postseason. San Francisco needed to win this game to make it to the playoffs, and their second-half intensity and effort were shown.

Kyle Shanahan rallied his team, and they kept coming up with big play after big play.

Jimmy Garoppolo came up clutch down the stretch, leading them down the field to tie the game and put them in a position to win the game in overtime.

Garoppolo may not be an elite quarterback, but he is a proven winner, and San Francisco has the talent to make a Super Bowl run.

Deebo Samuel has been sensational this season and was their top weapon in the offense against the Rams. His play kept them alive, and his versatility made it hard for the Rams to limit him.

The 49ers will now head to Dallas to take on the Cowboys in the Wild Card round.

That being said, here are three 49ers' takeaways from their epic Week 18 win against the Rams to clinch a Wild Card spot.

3. Kyle Shanahan is one of the league's best coaches

Although the 49ers trailed 17-3 at halftime, Shanahan was able to make adjustments at halftime and lead them to victory. His gameplan in the second half was phenomenal and led to more chunk plays.

While the 49ers may not be a top seed in the league, Shanahan has proved that he is one of the best coaches in the NFL. It is hard to flip the script on a game in the second half, especially against a great team like the Rams. Although he won't win Coach of the Year, he should be recognized as an elite head coach.

2. Jimmy Garoppolo is a clutch player

Jimmy Garoppolo had an impressive second half to lead the 49ers to victory. He was playing with a torn ligament in his thumb, but it didn't seem to affect him.

While his stats may not show it, Garoppolo is the reason San Francisco won this game. He threw for 316 yards along with one touchdown and two interceptions. Garoppolo came up with clutch play after clutch play to win the game for the 49ers.

Even though this may be last season in San Francisco, he is ending the season off strong and could take them on a run in the postseason.

1. Deebo Samuel is a top offensive player

Deebo Samuel has been one of the best offensive players in the league this season. Samuel may not be a name that comes to mind right away, but he always has an impact. Against the Rams, Samuel had four receptions for 95 yards. He also had eight carries for 45 yards and a touchdown.

These numbers are typical for Samuel as he is used as a running back and wide receiver. However, he also threw a 24-yard touchdown on a trick play in a crucial part of the game.

His ability to impact the game in so many different ways makes him a versatile threat for Shanahan's offense.

Now that the 49ers are in the postseason, it's time to shift their focus to Dallas. The Cowboys finished the season 12-5 and are coming off a 51-26 victory over the Philadelphia Eagles. This is primed to be a close matchup as both teams have talented rosters. It will come down to execution, and San Francisco has a shot of making a deep postseason run.