One season was enough for former Raven Tyrod Taylor to convince the Buffalo Bills he has the potential to be their franchise quarterback.

The Bills signed Taylor to a six-year contract Friday, a day before Buffalo opens the preseason by hosting the Indianapolis Colts. The Bills announced the signing, and a person with direct knowledge of the deal revealed some of its details.

The extension replaces the remaining year Taylor had left on his contract and will pay him more than $30 million over the first two seasons, the person said. The deal gives Taylor lucrative incentives over the course of the contract, but also provides the Bills flexibility to opt out of a portion of the deal, the person added.

The person spoke on condition of anonymity because the Bills have not revealed those details.

Joined by his parents and agent, Adisa Bakari, Taylor thanked the Bills for giving him the opportunity to play last year and their faith in offering an extension.

“It definitely shows that they're all in, which is what our phrase is for this year,” Taylor said, referring to the team's motto. “This contract is not going to change my mindset or my focus. Am I happy that it got done? Yes. But I'm ready to play football. Every year you have something to prove. At the end of the day, guys get judged by wins and losses, and my goal is to help the Bills have more wins than losses.”

General manager Doug Whaley said the extension is based on how Taylor performed last year as a first-time starter and the leadership he's shown this offseason.

“We look at it as what he's done so far is the baseline. Where he's going is the upside that we have wholehearted belief that he can achieve,” Whaley said. “Is anything in this business 100 percent? Absolutely not. But we feel confident. The best part about it is anybody's who's been around Tyrod, he makes you feel confident not only in him but where he's going.”

Taylor displayed dual-threat potential with his strong arm and scrambling ability in going 8-6 last season. He completed 242?of 380 passes for 3,035 yards and 20?touchdowns. He set the franchise record for quarterbacks with 586 rushing yards and scored four times. He missed two games with a knee injury.

Taylor spent his first four seasons as Joe Flacco's backup with the Ravens before signing with the Bills in free agency in March 2015. He won the No.?1 job in Buffalo after a three-way offseason competition against former starter EJ?Manuel and Matt Cassel.

The Bills led the NFL with 2,432?rushing yards last season and finished 13th with 5,775 total yards, their most since 1992.

Friday's preseason games: Quarterback Robert Griffin III, the 2011 Heisman Trophy winner who signed with the Browns after being dumped by the Washington Redskins in March, went 4-for-8 for 67 yards with an interception in one quarter as visiting Cleveland lost to the Green Bay Packers, 17-11.

Backup quarterback Bruce Gradkowski left at the end of the third quarter with a left hamstring injury as the Pittsburgh Steelers lost, 30-17, to the visiting Detroit Lions.

Wide receiver Darrius Heyward-Bey (Maryland) put Pittsburgh up 14-3 in the second quarter when he caught a 29-yard touchdown pass from Landry Jones in the corner of the end zone.

Quarterback Andy Dalton, returning from a broken thumb suffered Dec. 13, led the host Cincinnati Bengals into field-goal range on his only drive during the Minnesota Vikings' 17-16 preseason victory Friday night.

Backup quarterback Ryan Nassib was consistent in leading the host New York Giants on a game-opening touchdown drive, but his three turnovers in the second quarter led to 17 points in the Miami Dolphins' 27-10 victory.

Paul's injury not serious: Washington tight end Niles Paul hyperextended his right knee during the first quarter of Thursday night's 23-17 preseason loss to the Atlanta Falcons and did not return.

However, after the game, he walked without a limp, and coach Jay Gruden said he expects the sixth-year pro to practice today. In last season's preseason opener at Cleveland, Paul fractured an ankle and was lost for the season.

—?Mike Jones, The Washington Post