Chargers coach Anthony Lynn will rely on a former starting quarterback to back up his current one.

The Chargers agreed to terms on a two-year deal with quarterback Tyrod Taylor, the team announced Wednesday. By adding Taylor, the Chargers land one of the best available quarterbacks to back up Philip Rivers.

The NFL Network reported Taylor, 29, had interest in joining the Miami Dolphins to compete for the starting job.

Taylor was the starting quarterback when Lynn was the interim head coach and offensive coordinator for the Buffalo Bills in 2016. Last season, Taylor started three games for the Cleveland Browns before rookie Baker Mayfield took over.

Taylor has a career completion percentage of 61.6 with 53 touchdowns and 20 interceptions. The 6-foot-1 quarterback is known for having a strong arm and securing the ball.

Gilbert Manzano grew up reading the Pasadena Star-News, and now he’s the Chargers beat writer for the Southern California News Group. Manzano moved back to Pasadena after working three years for the Las Vegas Review-Journal as a Raiders and boxing reporter. The Cal State Northridge graduate spent two seasons as a breaking news editor for NFL.com. The Spanish-speaking lefty likes to go on runs with his dog, Cam.