JaVale McGee will not be returning to the Warriors.

The 30-year-old center has agreed to a one-year veteran’s minimum contract with the Lakers, according to a report from ESPN. McGee spent the last two seasons in Golden State.

McGee averaged 4.8 points and 2.6 rebounds per game in 2017-18. He started nine games in the playoffs and reached double-figure scoring totals four times, including in Games 2 and 3 of the NBA Finals.

McGee was originally selected in the first round of the 2008 NBA Draft by the Wizards. He has also played for the Nuggets, Mavericks and 76ers during his 10-year career.

LeBron James announced Sunday he was signing a four-year, $154 million deal with the Lakers. Lance Stephenson and Kentavious Caldwell-Pope also reportedly agreed to contracts with Los Angeles.

The Lakers are pursuing a potential trade for Kawhi Leonard and have spoken with free agent center DeMarcus Cousins, according to multiple reports.