The Dallas Cowboys made a trade for a key wide receiver to help bolster their offense on Sunday.

The Cowboys acquired Brandin Cooks from the Houston Texans in exchange for a fifth-round pick in 2023 and a sixth-round pick in 2024.

The trade comes after Cooks expressed his dissatisfaction with the franchise and made it clear that he did not want to be part of a rebuild.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Brandin Cooks of the Houston Texans warms up against the New York Giants at MetLife Stadium on November 13, 2022 in East Rutherford, New Jersey. (Cooper Neill/Getty Images)

«My mind isn’t there. I don’t see it as part of a rebuild, however that may seem. That’s why I trust my camp and my representation so I can get a map from here to there and see what appears to be part of something.» that he has a reliable plan,» he told reporters in January, adding: «I’m not going into the offseason thinking I want to be part of a rebuild.»

Cooks led the Texans with 57 catches for 699 yards in 13 games during the 2022 season. He also had three touchdown receptions. He signed a contract extension before the 2022 season, but Houston has only three wins in 2022 and has the No. 2 pick in the NFL Draft.

EX-PACKERS PLAYER RIPS JETS SEARCH FOR AARON RODGERS: ‘He’s NOT GOING TO ANY SUPER BOWL ANYMORE’

Brandin Cooks of the Texans during the Jacksonville Jaguars game at NRG Stadium on January 1, 2023 in Houston.

Brandin Cooks of the Texans during the Jacksonville Jaguars game at NRG Stadium on January 1, 2023 in Houston. (Cooper Neill/Getty Images)

The wide receiver is under contract through the 2024 season. He will reportedly make $18 million in 2023.

«Beyond blessed and I can’t wait to be special to the star! So grateful to the Jones family for this opportunity for me and my family,» the wide receiver told ESPN.

Cooks is ready to add some firepower to Dallas’ offense after trading Amari Cooper to the Cleveland Browns last season and failing to adequately replace the dynamic receiver. Cooks will line up with CeeDee Lamb on offense.

Brandin Cooks of the Houston Texans reacts after a catch against the New York Giants at MetLife Stadium on November 13, 2022 in East Rutherford, New Jersey.

Brandin Cooks of the Houston Texans reacts after a catch against the New York Giants at MetLife Stadium on November 13, 2022 in East Rutherford, New Jersey. (Dustin Satloff/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Dallas ranked fourth in points scored and 11th in yards gained in 2022. The team failed to make it to the divisional round of the playoffs for the second year in a row.