Martin Allen has returned for a third spell in charge of Barnet after the npower League Two strugglers announced his appointment to replace Lawrie Sanchez with immediate effect.
Allen first took the reins at Underhill in 2003 and returned in March last year, only to leave three matches into an eight-game contract to become Notts County manager.
The 46-year-old was sacked by County in February and succeeds outgoing former Northern Ireland manager Sanchez for the final three games of the season, with the Bees three points above the relegation zone and without a win in eight matches.
A statement released on Barnet's official website, www.barnetfc.com, read: "Barnet FC would like to announce that a new manager has been appointed to take over the running of the first team until the end of the season. The manager, who will replace Lawrie Sanchez as of immediate effect, will be Martin Allen."
Sanchez was appointed as Barnet manager in May last year but only won 15 of 53 games in all competitions.
The former Fulham manager has accused the Bees of "losing their nerve" following his sacking.
"Following the termination of my contract by Barnet FC, I'd like to express my extreme disappointment at the lack of loyalty shown in me by the club," read a statement released by Sanchez. "It is the same lack of loyalty the club accused Martin Allen of showing when he walked out on Barnet towards the end of last season.
"When I took over from Martin, the club were three points adrift of safety with just four games of the season left and under serious threat of relegation to the Conference. However, thanks to a fantastic effort from the players, staff and myself, Barnet took seven points from those last four games and avoided relegation.
"Now the club are three points clear of the relegation zone with three games to go. I certainly felt that recent performances would see the club remain clear of the threat of relegation.
"Unfortunately, that confidence seems not to have been mirrored in the boardroom and I am disappointed the club have lost their nerve at such a vital stage of the season."