Alan Curbishley has resigned as manager of West Ham because of a lack of control over transfer policy.
Curbishley offered his resignation on Wednesday and it was quickly accepted by owner Bjorgolfur Gudmundsson.
A West Ham statement said the club had accepted Curbishley's resignation in the best interests of both parties.
The final straw for the 50-year-old had been the enforced sales of Anton Ferdinand and George McCartney. Curbishley said decisions had been made without involving me, amounting to a breach of trust and confidence meaning I had no option but to leave.
Curbishley added: "The selection of players is critical to the job of manager and I had an agreement with the club that I alone would determine the composition of the squad."