Ryan Tannehill, the eighth overall pick of the 2012 NFL Draft by the Miami Dolphins, has agreed to a contract with the team.

Tannehill missed the first two days of camp while the Dolphins and his agent, Pat Dye Jr., tried to work out a contract. The first quarterback selected in the first round by the Dolphins since they took Dan Marino in 1983, Tannehill is expected to be at practice Sunday morning.

Ryan Tannehill, the eighth overall pick of the 2012 NFL Draft by the Miami Dolphins, has agreed to a contract with the team. (AP Photo)

The Texas A&M product is viewed as Miami's quarterback of the future and will likely sit behind veterans Matt Moore and David Garrard on the Dolphins' depth chart to start the season.

Tannehill's contract is for four years with a fifth-year option, according to Pro Football Talk. The team made some concessions in contract talks, but ultimately the rookie signal caller wanted to get to camp, a source told PFT.