Dallas Cowboys rookie center Travis Frederick, the team's first-round draft pick, agreed to terms on a five-year contract Tuesday.

Frederick signed a four-year deal with a fifth-year option worth $6.87 million, according to a source. The first three seasons of the deal are guaranteed and feature a $3.37 million signing bonus, the source said.

Frederick is the last of the Cowboys' seven draft picks to come to terms.

Frederick was given the starter's spot over Phil Costa during offseason workouts. However, he will compete with Costa for the starting job during training camp.