According to ESPN's Adam Schefter, the Buffalo Bills and quarterback Tyrod Taylor have agreed to a six-year $90 million contract extension.

Buffalo also included $20 million worth of incentives that Taylor could receive but also gave themselves a $10 million buyout option after the first two seasons.

The Baltimore Ravens originally drafted Taylor in 2011 but was a backup to starting quarterback Joe Flacco for four years.

Taylor became the Bills starting quarterback last season after signing a two-year deal as a free agent.

Last season Taylor started 14 games for the Bills, while throwing for 3,035 yards, 20 touchdowns and 6 interceptions. He was also one of the most versatile quarterbacks after rushing for 568 yards and 4 touchdowns.

Taylor missed two games last year with a minor knee injury but had no set backs and finished the last nine regular season games.