Hamilton midfielder Ronan Hughes saw red as a 1-0 home defeat by Motherwell left his side rooted to the bottom of the Scottish Premiership.
The 22-year-old was sent off for a 33rd-minute midfield challenge and Mark O’Hara soon fired Motherwell ahead.
Bruce Anderson saw a chance saved for the hosts before Motherwell controlled the final quarter and sealed a first Lanarkshire derby victory in six matches to leave their local rivals deep in relegation danger.
Hamilton now face a trip to St Mirren before playing relegation rivals Ross County and Kilmarnock in the final two matches of the season.
Motherwell switched to a three-man central defence as they looked to avoid a fourth defeat by Accies this season.
The visitors had an early escape when Hakeem Odoffin failed to steer the ball on target after escaping his man from a free-kick.
Ricki Lamie had a header blocked at the other end and Devante Cole saw a shot parried after some slack play at the back from the hosts.
There was little in the game before the red card. Hughes threw himself into a challenge with Robbie Crawford but the Motherwell midfielder got to the ball first and referee Kevin Clancy ruled it serious foul play.
Motherwell took just four minutes to make their advantage count after getting the ball out wide. Christopher Long worked it into O’Hara and the midfielder made space to turn and shoot into the bottom corner of the net.
Cole came close after turning Aaron Martin following a long throw and Accies went into the interval with everything to do.
They forced some set-pieces and kept Motherwell largely on the back foot in the early stages of the half, and created a decent chance midway through when Lee Hodson headed on to Anderson. The on-loan striker got hold of his volley but Liam Kelly was well-positioned to save.
A small group of Motherwell fans had arrived at the back of a nearby supermarket overlooking the ground at half-time and let off some pyrotechnics but they saw little to excite them before being moved on by police.
They found another vantage point in a different supermarket car park and saw their team improve in possession. Cole, Stephen O’Donnell and O’Hara had efforts which failed to trouble Kyle Gourlay.
Accies threw on returning wide players Lewis Smith and Nathan Thomas but could not mount any late pressure as Motherwell saw out the win.