Patrice Evra has left Marseille by mutual consent and has been banned from Uefa competition for the rest of the season for kicking one of his own fans.
The former Monaco, Manchester United and Juventus full-back, 36, is banned by Uefa until June 2018, the same month his Marseille deal would have ended.
He was also fined 10,000 euros (£8,829).
Evra kicked a fan next to the pitch before a Europa League game with Vitoria Guimaraes on 2 November.
The France defender joined Marseille in January 2017 from Juventus, where he had spent three seasons following his departure from Manchester United.
“By mutual agreement, Marseille and Evra have decided to put an end to their partnership,” said a club statement. “The player’s contract is officially terminated with immediate effect.”
During their Ligue 1 win over Caen on 5 November, some Marseille fans unfurled a banner that read: “You thought you were above the institution OM and its supporters. We don’t want you wearing our colours. Evra get out.”
Watch Evra kick a fan in the head.