Denver’s two starting defensive ends—Derek Wolfe and Malik Jackson—were both set to become free agents this offseason. They’ve performed well with the Broncos, causing some to believe they may have become too expensive for the team to afford.

Others thought that perhaps the team could afford to re-sign only one of them. If they had to choose between the two of players, many—myself included—thought that the team would choose Jackson.

We were wrong.

Denver gave Wolfe a four-year contract extension Friday, worth $36.7 million, according to ESPN’s Jeff Legwold. Wolfe received $17.5 million in guarantees.

Congrats to Derek Wolfe. Well deserved. Like his game! — Chris Long (@JOEL9ONE) January 15, 2016

This doesn’t mean that Denver won’t bring back both defensive ends—they still might—but if they’re only able to afford one, Wolfe was the team’s first choice.

Wolfe recorded 49 tackles and 5.5 sacks this season. Jackson totaled 45 tackles and 5 sacks.

“This year, Derek’s developed into one of the best 3-4 defensive ends in football,” general manager John Elway said Friday afternoon.

Derek Wolfe's developed into one of the top DLs in the NFL, and we're excited w/his 4-year extension. Proud of him!! pic.twitter.com/PrnOjsT7fV — John Elway (@johnelway) January 15, 2016

Wolfe is now under contract through 2019.

In '13 Wolfe was temporarily paralyzed with a spinal contusion, lost nearly 40 pounds, went into depression, climbed out, & came back better — Brandon Thorn (@VeteranScout) January 15, 2016

Wolfe was suspended the first four games of the regular season for violating the league’s performance-enhancing drugs policy. In the 12 games that he did play, he ranked fourth among 3-4 defensive ends, according to advanced stats website Pro Football Focus.

Wolfe reportedly could have received more money from another team this offseason, but he wanted to stay in Denver.

Broncos Wire’s Justin Michael had Wolfe as the fourth-most important free agent for Denver to re-sign this offseason and Jackson as the second-most important free agent.

Earlier this month, Elway said that the team hopes quarterback Brock Osweiler will be with the team for a long, long time. He continued on to say that after the playoffs concluded the team will “start hitting those contracts and see if we can keep this team together.”

The team is not expected to extend any more players before the offseason, according to the Denver Post‘s Troy Renck. When the team does start talking contracts again, Jackson seems to be a likely candidate for an extension.

For a complete list of Denver’s 2016 free agents, click here.