The Buffalo Bills and offensive tackle Cordy Glenn have agreed to a five-year, $65 million contract extension, FS1 NFL Insider Mike Garafolo confirmed Tuesday.

LT Cordy Glenn has agreed to a long-term deal with the Bills!

Huge congrats, 77! Details: https://t.co/v5VurctJvM pic.twitter.com/gmsGvza9o3

— Buffalo Bills (@buffalobills) May 3, 2016

Glenn will get $36 million guaranteed, averaging out just under the franchise tag one-year salary of $13.7 million, according to Garafolo.

More from FoxSports

Congrats to @cordyglenn77. You earned it brother!

— Eric Wood (@EWood70) May 3, 2016

@cordyglenn77 🤑🤑🤑 congrats bro! Can't wait to make history wit ya bro

— Aaron Williams (@ajwilliams23) May 3, 2016

Congratulations to my guy @cordyglenn77 for signing a new deal. Much deserved!! #LeftSidePride

— Richie Incognito (@68INCOGNITO) May 3, 2016

The 26-year-old Glenn, a 2012 second-round draft pick out of Georgia, has started 57 straight games for Buffalo and is an important component of a Bills offensive line that was strong last season. The 6-foot-6, 345-pound Atlanta native was given the franchise tag earlier this offseason.