The Dallas Cowboys have reached an agreement on a seven-year contract with Tony Romo that clears up cap space and locks up their quarterback.

The six-year extension is worth $108 million, according to league sources.

Romo's salary cap number was set to be $16.8 million in the final year of his current deal.

He receives more guaranteed money than in the six-year, $120.6 million contract that Joe Flacco recently signed with Baltimore Ravens, sources said.

Romo will receive $55 million guaranteed from the Cowboys, $3 million more than what Flacco got from the Ravens.