Gillingham narrowly beat Carlisle as both sides ended the game with 10 men.
Danny Kedwell scored with a penalty for his sixth goal in six games, after Danny Livesey felled Danny Hollands.
Carlisle then saw Lee Miller sent off for an off-the-ball incident with Adam Barrett, before Gills defender Leon Legge received his second booking.
The visitors had a penalty shout of their own, but their appeals for handball against Michael Harriman were waved away.
VIEW FROM THE DRESSING ROOM
Gillingham interim manager Peter Taylor told BBC Radio Kent:
"Our first half performance was very, very, poor. The booing we got at half-time, I said if I was in the crowd watching I'd have been booing the loudest. It wasn't acceptable.
"Second half we grafted away, it wasn't a good performance but we kept going. The players worked extremely hard to get a result.
"Danny Kedwell's performance was outstanding. He was very happy to go centre-half when Leon Legge was sent off.
"We're in a relegation scrap, let's be honest, so we need fighting performances. I'm sure the crowd appreciated the second half and were bored stiff in the first."
Gillingham 01 Nelson 23 Harriman 03 Martin 19 Hollands 06 Legge Dismissed after an earlier booking 26 Barrett 07 Whelpdale 04 Linganzi (Dack - 34' ) 11 Weston (McDonald - 45' ) 09 Kedwell 18 Lee Booked (Gregory - 45' ) Substitutes 05 Davies 08 Akinfenwa 10 McDonald 12 Gregory 15 Dack 16 German 21 Howard Carlisle United 01 Gillespie 39 Chimbonda 04 Chantler (Guy - 76' ) 12 Thirlwell 05 Livesey Booked (Berrett - 71' ) 23 O'Hanlon Booked 06 Buaben 08 Noble (Symington - 58' ) 09 Miller Dismissed 07 Amoo Booked 03 Robson Substitutes 16 Potts 17 Beck 19 Symington 20 Fleming 21 Berrett 22 Eccleston 29 Guy
Ref: Charles Breakspear