Updated

The Jacksonville Jaguars are bringing back quarterback Chad Henne.

Henne and the team agreed to a two-year contract worth $8 million Friday, keeping the starter from hitting the free-agent market.

Henne's deal includes $4.5 million guaranteed in the first year and comes four days before the beginning of free agency and one day before Henne could have started negotiating with other teams.

Henne signed a two-year deal worth $6.75 million with Jacksonville in 2012. He started 13 games last season and threw for 3,421 yards, with 13 touchdowns with 14 interceptions, after replacing benched starter Blaine Gabbert.

His return could mean the end of Gabbert's tenure in Jacksonville. The Jaguars are expected to draft a quarterback in May.

Henne is 5-14 as a starter in two seasons in Jacksonville.