Quarterback Derek Anderson has retired from the NFL. Anderson made the announcement on his official Twitter account on May 13.

The 35-year-old Anderson will hang his cleats after a 14-year NFL career. The Baltimore Ravens selected him in the sixth round of the 2005 NFL Draft.

After the Ravens waived him that year, the Cleveland Browns claimed him off waivers. He went on to play under center for the Browns until 2009.

Anderson also suited up for the Arizona Cardinals (2010), Carolina Panthers (2011-17), and Buffalo Bills (2018). During his Panthers stint, Anderson played backup to Cam Newton.

In Anderson's last year in the NFL, he became a valuable mentor to rookie Buffalo Bills quarterback Josh Allen, per Chris Brown of the team's official website.

According to Brown, Anderson was familiar with Bills general manager Brandon Beane and head coach Sean McDermott during their stint with the Panthers.

Prior to the draft in late April, Anderson dropped hints to Beane he would retire. The Bills general manager also thanked Anderson for mentoring Buffalo quarterbacks Josh Allen and Matt Barkley, per Brown.

Derek let me know a few weeks back that he wasn't sure if he could be committed [for the season] and wanted to still think about it.

So I knew going into the draft that this was something that could potentially happen. But it wasn't definite. We talked this week and he let me know today he is going to retire.

I was thankful for Derek's time here. He was really a great resource for Josh and Matt Barkley and [offensive coordinator Brian] Daboll.

Anderson passed for 10,878 yards, 60 touchdowns, and 64 interceptions in his 14-year NFL career.