Jack Wilshere has been released by West Ham, bringing to an end an injury-hit two seasons at the club.
The 28-year-old former England midfielder managed just 19 appearances since joining from Arsenal in 2018.
Wilshere had one year left on the three-year contract previous manager Manuel Pellegrini handed him, but West Ham have opted to cut their losses.
A club statement read: "West Ham United can confirm that the club has agreed with Jack Wilshere to a mutual termination of the midfielder's contract.
"Everyone at West Ham United would like to wish Jack all the best for his future career."
Wilshere, whose career has been blighted by injury, was due to face Charlton in the Carabao Cup this season only to roll an ankle in training.
He did make one appearance in the following round, playing the full 90 minutes in a 5-1 defeat of Hull.
However, that proved to be Wilshere's final appearance for the club and he is now a free agent.
Wilshere hinted that he had been frozen out by current manager David Moyes by claiming he has been fully fit for the past eight months.
"I am still incredibly hungry, ambitious and desperate to play football and achieve success. I'm still only 28 and feel fit, strong and ready to play.
"I'm now looking forward to the future and hope to be able to make an announcement about the next stage of my career in due course."
Meanwhile, Hammers midfielder Josh Cullen, who spent the last two seasons on loan at Charlton, has joined Anderlecht on a permanent basis and striker Xande Silva has been loaned to Aris Thessaloniki.