The Tampa Bay Buccaneers and Mike Williams have agreed upon a six-year, $40.25 million extension.

The deal will keep Williams with the Buccaneers through the 2018 season.

"We are pleased to have Mike signed to a long-term contract that ensures he will continue to be part of the exciting young core of players we are building around," Buccaneers general manager Mark Dominik said Wednesday morning in a news release. 

Williams has 2,731 yards and 23 touchdowns through his first three seasons.