Willian has officially terminated his contract with Arsenal.
The Gunners have saved £20m thanks to Willian's decision.
The Brazilian, 33, is expected to return to his homeland with Corinthians.
In a statement, the Gunners said: "We have reached a mutual agreement with Willian to terminate his contract effective from today.
"The Brazil international joined us from Chelsea last August and made 38 appearances during the 2020-21 campaign.
"He had two more years to run on his contract but following positive and constructive recent discussions with him and his team, he will be leaving for a new opportunity with Corinthians in Brazil, where he began his career.
"Everyone at Arsenal wishes Willian and his family well for the future."