The Indianapolis Colts have agreed to a multiyear extension with defensive tackle Margus Hunt.

Hunt agreed to a two-year, $9 million deal that could be worth up to $10 million with incentives, according to a source.

He would have become a free agent next week.

"If that kind of offer comes up before free agency, they clearly were trying to keep me here,'' Hunt said. "The offer that was put in place sounded great.

"I didn't want to leave this kind of locker room behind and where it's headed."