Carlisle recorded their first win in six games as they beat Leyton Orient 2-1 at Brisbane Road despite finishing the game with 10 men.
The relegation threatened home side took a 25th minutes lead through Gavin Massey but Gary Liddle levelled nine minutes later.
Jamie Proctor scored the winner on 68 minutes but was then sent off 15 minutes from time.
The Os went in front when teenage goalkeeper Sam Sargeant , making his home league debut, sent a long clearance down the centre of the field and the ball sliced off the foot of a Carlisle defender into the path of Massey, who lashed the ball into the net from 20 yards.
The visitors restored parity when Jamie Devitt's free-kick thumped against the angle of the upright and the crossbar and the ball fell into the path of the unmarked Liddle, who had the simplest of tasks to steer the rebound into an empty net.
The Cumbrians, who had dictated matters after the break, went ahead on 68 minutes. Nicky Adams delivered a superb cross from the left onto the head of substitute George Waring, whose shot was palmed away by Sargeant but Proctor latched onto the loose ball to head it into the net.
Proctor's afternoon turned sour, though, when he was red-carded on 75 minutes following two bookings in three minutes for reckless tackles.
Despite being a man down, the visitors had little trouble in protecting their lead with the three points improving their automatic promotion hopes.