ALAMEDA, Calif. — Marshawn Lynch is coming out of retirement after agreeing to a two-year deal with the Raiders that paved the way for a trade to his hometown team in Oakland.

Lynch passed a physical Wednesday and agreed to a restructured two-year contract. Those were the final steps needed before Seattle could trade his rights along with a 2018 sixth-round pick to the Raiders for a 2018 fifth-rounder.

NFL Network said Lynch would get a $3 million base deal this season, with a chance to make an additional $2 million if he rushes for at least 1,000 yards.

Lynch had been slated to make $9 million this season if he came out of retirement. With Seattle unwilling to pay that amount and Lynch only wanting to play for the Raiders, finalizing a trade was simple once Oakland was able to re-do Lynch’s contract.

Lynch also must apply to the NFL for reinstatement from the retired list before he can play with the Raiders.

Lynch retired following the 2015 season but decided he wanted to come back and play with his hometown team. The Raiders met with him early this month to gauge his interest and wanted to get a deal done before the draft.

The Raiders have a need for a power running back after losing Latavius Murray in free agency. Second-year backs Jalen Richard and DeAndre Washington are both smaller backs and are not as suited to short-yardage and goal-line situations.

GIANTS: Attorneys for quarterback Eli Manning are trying to convince a judge that the dealers suing the two-time Super Bowl MVP tried to pressure him to settle a memorabilia lawsuit by releasing select notes that weren’t related to the disputed goods.

Emails released by the court on Wednesday were part of a motion seeking sanctions and legal fees against one of the plaintiffs’ attorneys after he released an email from Manning in 2010 that seemed to indicate he provided fake memorabilia rather than authentic game-used goods.

Manning angrily denied those allegations last week.

The lawsuit revolves around two pieces of equipment: a backup Super Bowl helmet from 2012 and another from the 2007-2008 season.

The memorabilia dealers suing Manning released a note sent by Manning to team equipment manager Joe Skiba, asking for two helmets that “can pass as game used.”

Manning’s lawyers say that email is taken out of context and all of Manning’s communications in context show he never provided inauthentic memorabilia.

PACKERS: Receiver Geronimo Allison reached a deal with prosecutors to settle a misdemeanor marijuana possession charge. Allison will pay $330.50 to settle the charge after it was amended Tuesday to an ordinance violation.

DRAFT: Former Ohio State star Gareon Conley says he plans to skip attending the draft in person on Thursday and decried allegations that he raped a woman as “completely false.”

No charges have been filed as police investigate claims made by a 23-year-old woman that he assaulted her in a Cleveland hotel on April 9. Conley was named in a police report that details the allegations but no information has been forwarded to prosecutors.