Wigan have sacked Malky Mackay just five months into his spell as manager, the club announced on their website.
The Latics were beaten 2-0 by Derby on Monday afternoon, leaving them facing the prospect of dropping down into League One barely two years after they were in the top flight and won the FA Cup.
The Championship side are now eight points from safety with just five games remaining.
In a short statement on their official website, the club confirmed they had removed Mackay from his post just five months after his controversial hiring.
“This is a very difficult decision to make but I feel that for the long term future of the club, there needs to be a change now. I wish Malky all the best for the future,” said chairman David Sharpe.
Mackay is still under investigation by the FA for allegedly sending racist and sexist text messages when he was Cardiff manager.
Former Wigan chairman Dave Whelan was fined by the FA and banned for six weeks for making racist comments in an interview following his decision to appoint Mackay as manager.
Whelan quit as Wigan chairman last month, handing the job to Sharpe, his 23-year-old grandson.