The San Francisco 49ers’ offseason was clouded in part with questions over whether the team was going to find a trade partner for stud wide receiver Deebo Samuel.

Those questions seemingly came to an end on Sunday night.

Samuel and the 49ers agreed to a three-year contract extension, according to multiple reports. The deal is still being finalized. ESPN reported the deal is worth $71.55 million with $58.1 million guaranteed.

Deebo Samuel in the NFL playoffs

San Francisco 49ers wide receiver Deebo Samuel is shown during warm-ups prior to the NFC Divisional Round playoff game against the Green Bay Packers at Lambeau Field, Jan. 22, 2022, in Green Bay, Wisconsin. (Jeff Hanisch-USA Today Sports)

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

The reported deal allows Samuel to hit free agency in 2026 when he will be 30 years old. The saga over whether the 49ers will trade him appears to be over. Samuel publicly demanded a trade before the draft but ended up showing to mandatory minicamp last week. He was said to be "holding in" while his representatives negotiated a deal.

Deebo Samuel at training camp

San Francisco 49ers wide receiver Deebo Samuel runs during training camp at the SAP Performance Facility near Levi Stadium in Santa Clara, California, on July 28, 2022. (Stan Szeto-USA Today Sports)

CARDINALS' DEANDRE HOPKINS ON FAILED PED TEST, SUSPENSION: 'I WISH THE RULE WASN’T SO BLACK AND WHITE'

Samuel has emerged as one of the best weapons in football. He’s shown he could hurt teams on the ground and through the air. He totaled 1,770 yards from scrimmage and rushed for eight touchdowns with the 49ers. He also led the league with 18.2 yards per catch, earned 1,405 receiving yards and scored a combined 14 touchdowns.

Deebo Samuel against the Rams

San Francisco 49ers wide receiver Deebo Samuel warms up before the game against the Los Angeles Rams at SoFi Stadium in Inglewood, California, on Jan. 9, 2022. (Jayne Kamin-Oncea-USA Today Sports)

Hall of Famer Jerry Rice is the only Niners receiver ever to gain more yards from scrimmage in a season than Samuel did last year. Samuel was an All-Pro and a Pro Bowler last season. Both for the first time.

CLICK HERE TO GET THE FOX NEWS APP

San Francisco will likely open the season with Trey Lance as the starting quarterback. The organization has allowed Jimmy Garoppolo to find a trade elsewhere.

The Associated Press contributed to this report.