Raheem Mostert and the San Francisco 49ers have agreed to a restructured contract.

Moster's agent, Brett Tessler, publicly requested a trade earlier this month.

"Just finalized a new deal for Raheem Mostert with the San Francisco 49ers," wrote Tessler on Twitter. "Happy we got things worked out and looking forward to him having another great season there. Thanks to the organization for taking care of him."

Mostert is due $2.575 million in base salary with a $300,000 bonus in 2020 and now can earn up to an additional $2.75 million in bonuses and incentives.