ALAMEDA, Calif. (AP) — Marshawn Lynch is coming out of retirement after agreeing on 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.

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

More From 1460 ESPN