After hiring John Lynch as general manager and Kyle Shanahan as head coach, the 49ers started the 2017 season with nine consecutive losses. During this time, they traded for New England Patriots backup quarterback Jimmy Garoppolo. After a win over the New York Giants and a loss to the Seattle Seahawks, Garoppolo was named the starter after rookie C. J. Beathard suffered an injury. The 49ers won their last five games with Garoppolo at the helm and finished the season 6–10. After the season, the 49ers signed Garoppolo to a five-year, $137.5 million contract extension. This made him the highest-paid player in NFL history on a per-year basis at the time. During the third-week matchup between the 49ers and Kansas City Chiefs, Jimmy Garoppolo tore his ACL, and was ruled out for the rest of the 2018 season.