article: Come the end of this season, Malky Mackay’s tenure at Wigan Athletic might just be remembered as one of the costliest appointments in the history of English football. A second relegation in three seasons would be damaging enough for a club that enjoyed eight largely successful years in the Barclays Premier League. And after failing to secure a single win at home in six months in charge — culminating in a woeful 2-0 defeat by Derby on Monday — Mackay would certainly shoulder much of the blame for that. Malky Mackay's tenure at Wigan Athletic came to an end on Monday following a 2-0 defeat by Derby . Sportsmail revealed in August Mackay was being investigated  over 'sexist, racism and homophobic' texts . Dave Whelan (right) appointed Mackay (left) as manager of Wigan in November 2014 despite the warnings . 19 - points taken from Mackay's 24 matches in charge of Wigan - five wins, four draws and 15 defeats . 0 - number of home games won by Mackay's Wigan from 13 attempts - 10 of these ended in defeat . 20.8 - Mackay's win percentage with Wigan since taking over in November . But Dave Whelan will also have to accept that his misguided decision to appoint the controversial Scot in the first place has cost him his reputation and seriously harmed the image of a fine football club too. People did try to warn Whelan when he first entertained the idea of replacing Uwe Rosler with Mackay last November. But Whelan demonstrated how little regard he had for an Football Association investigation into an exchange of racist, sexist, homophobic and anti-Semitic messages between Mackay and his former Cardiff City colleague, Iain Moody, by not only appointing him but then trying to justify the decision with some deeply offensive remarks of his own. Whelan was punished by the FA for his comments about the Chinese and Jewish communities and was left with little choice but to step down as chairman, wisely handing the reins to a grandson who can now begin the process of repairing some of that damage. It will take time, of course. Particularly when the response of too many in and around the club was to try to defend the indefensible, refusing to take any responsibility for the problems the club was enduring. It could yet prove that the ‘very difficult decision’ announced by the new chairman, David Sharpe, on Monday night has been made too late. Wigan are eight points from safety with only five games remaining, after all. This is how Sportsmail's Chief Sports Reporter Matt Lawton revealed the investigation in August 2014 . Sportsmail led the way with the exclusive story about Mackay and his Cardiff City colleague Iain Moody . Mackay was appointed manager of Wigan in November 2014 but has arguably harmed the football club . Whelan's appointment of Mackay did little good for the club as they face relegation from the Championship . How the Championship table currently shapes up . But it might have become an awful lot more uncomfortable before it got better, irrespective of where Wigan finish up in the Championship. As Sportsmail revealed last month, an FA investigation first launched last August — with the publication of the Textgate scandal messages in this newspaper — was close to being concluded in February. But new evidence was presented to the FA that forced the governing body’s disciplinary chiefs to reopen the investigation, with sources suggesting it could be the summer before we have an outcome. The FA had already spent months wrestling with the issue of private and public communication, and whether they could charge an individual when the emails and text messages were exchanged between Mackay and Moody in their capacity as manager and head of recruitment at Cardiff. Reports that suggested Mackay and Moody were likely to escape punishment prompted more witnesses to come forward, however, with individuals Mackay might have considered allies among those to have submitted fresh information. Despite trouble on and off the pitch, Sportsmail understands he was granted a stay of execution in February after a 1-0 away victory at Reading. Wigan were said to be content with keeping their boss until at least the end of the season and sources at the DW Stadium indicated Mackay was ready to build a similar recruitment structure to that at Cardiff and had been sanctioned to do so. And hours before the Scot was sacked he talked up Wigan’s chances of Championship survival, despite overseeing a 10th home defeat in 13 matches. ‘It’s still mathematically possible,’ insisted Mackay. ‘I’ve got a team which is putting performances in every week. It’s fine lines between winning and losing in this league.’ Wigan vice-Chairman Phillip Williams, John Winstanley and Brian Ashcroft look on along with chairman David Sharpe (far right) during their 2-0 defeat by Derby . New Wigan chairman Sharpe, pictured reacting to a piece of play on the pitch, saw his club lose on Monday . Hours before being sacked, Mackay talked up Wigan’s chances of Championship survival despite the defeat . Substitute Chris Martin and Darren Bent struck for Derby as they moved up to fifth in the table. In their dugout was Steve McClaren — a man overlooked for the Wigan job in June 2013 when Owen Coyle replaced the departing Roberto Martinez. Ultimately, Mackay lost his job not because of an FA investigation but because he failed to win football matches. As a brief club statement highlighted, a return of only 19 points from a possible 72 is disastrous. But at least the outcome of the FA enquiries is no longer Wigan’s concern. At least they can now turn to someone like Gary Caldwell, Alan Stubbs or Danny Wilson — the names thought to be in the frame on Monday night — without the baggage that arrived with Mackay. The harm has been done but now begins the recovery. Derby's players celebrate after Chris Martin's goal gave them the lead in the second half against Wigan . Derby manager Steve McClaren was all smiles as he took his place in the stands before the game .
highlights: Sportsmail revealed in August that Malky Mackay and Iain Moody were being investigated by FA over 'sexist, racism and homophobic' texts .
  Mackay became manager of Wigan Athletic in November 2014 .
  Wigan are eight points from safety as they sit in the relegation zone .
  The Championship club are on the verge of dropping into League One .
  READ: Mackay sacked by Wigan after Derby defeat .
prediction: the end of 
   of the cost 
   for 
   club 
   in charge 
   on Monday 
   Malky Mackay' s tenure at Wigan Athletic 
   a 2 - 0 defeat by Derby . Sportsmail 
   Mackay was being investigated 
   over' sexist, racism and homophobic' texts . Dave Whelan 
   appointed 
   manager 
   in November 2014 
  ' s 
   with 
   But 
   an 
   have to 
   decision to 
   has 
   investigation 
   racist 
   messages 
   and his 
   as chairman, 
   David 
  