South Africa striker Benni McCarthy has left West Ham after having his contract terminated by mutual consent.
The 33-year-old struggled to make an impact at Upton Park, failing to score in his 14 appearances after joining from Blackburn at the end of last winter's transfer window.
A statement on the club website, www.whufc.com, read: "West Ham United have mutually agreed with Benni McCarthy to part company with immediate effect."
It continued: "The club would like to wish Benni the best for the future."
McCarthy was left out of the Hammers' 25-man Barclays Premier League squad for the second half of this season following the transfer-window signings of Robbie Keane and Demba Ba.