A football manager who had been a favourite to take over at Crystal Palace is now being investigated by the FA for allegedly sending a string of racist, sexist and homophobic texts.

Malky Mackay is now out of the running to become Crystal Palace boss, as he was reported to the FA by his former club Cardiff City for alleged involvement in the texts.

Allegations were made by the club that he was involved with the a string of offensive texts whilst working there, and a dossier has been given to the FA to investigate.

One of the texts allegedly read: “He’s a snake, a gay snake. Not to be trusted.”

Cardiff has also alleged that Crystal Palace’s former sporting director Iain Moody, who stepped down amid the controversy, was in the wrong.

Moody had been head of recruitment under Mackay at Cardiff before he was sacked in October.

A spokesman for the FA said it had received accounts of issues related to Moody and Mackay at Cardiff, and said: “The FA can confirm it is currently investigating this matter.”

Crystal Palace uploaded a statement to its website today, reading: “In light of the events of yesterday, Sporting Director, Iain Moody has tendered his resignation and it has been accepted with immediate effect.

“There will be no further comment from the club on this matter.”