Former Los Angeles Lakers head coach Luke Walton learned that Magic Johnson was resigning as president of basketball operations via text while preparing for the Portland Trail Blazers game with his staff, according to Dave McMenamin and Ohm Youngmisuk of ESPN.

Johnson stepped down from his position on Wednesday during an impromptu press conference at Staples Center. It was a move which shocked many people, including the reporters who were speaking with Magic.

Walton learned that Johnson was resigning via text while preparing for the Trail Blazers game with his staff, sources said.