Colin Kaepernick was an unknown commodity two seasons ago, a backup quarterback behind a division champion starter. Now Kaepernick is a true franchise quarterback, with the contract to prove it.

NFL Media Insider Ian Rapoport reports that Kaepernick and the San Francisco 49ers have agreed to terms on a six-year mega extension through 2020 that will pay the signal-caller up to $126 million. The deal includes $60 million guaranteed.

Kaepernick was entering the final year of his rookie contract, which was set to pay him under $1 million.