Until their victory over Huddersfield, Birmingham had failed to win since beating Brentford in their league opener on 12 September
Birmingham City ended a six-game winless run as Lukas Jutkiewicz's late strike beat Huddersfield Town at St Andrew's.
Isaac Mbenza's first Terriers goal for almost 18 months looked to have rescued a point for Town with five minutes left after they had trailed for much of the game to a Gary Gardner header.
But Jutkiewicz struck in the 90th minute with a cool first-time finish on the rebound after fellow substitute Jonathan Leko had rattled the bar.
Huddersfield almost found a second equaliser in nine minutes of stoppage time but Christopher Schindler prodded inches wide from Pipa's cross.
- Relive Wednesday's Championship action
Jutkiewicz's winner marked the first time City had scored twice in a game all season, with Gardner's towering first-half header from Jeremie Bela's free-kick ending a five-hour goal drought.
Blues had not scored since a 1-1 draw at Stoke on 4 October - recording three consecutive blanks - but almost netted a second immediately after Gardner's opener as Bela's free-kick hit the post and George Friend's follow-up was cleared off the line by Richard Stearman.
Huddersfield's Josh Koroma fired against the bar early in the second half but they appeared to have run out of ideas until Mbenza curled a fine 20-yard free-kick over the wall into the top corner.
It was only the Belgian forward's second Huddersfield goal, the first coming during an initial loan spell with the club in a 1-1 Premier League draw against Manchester United in May 2019.
But Jutkiewicz's instinctive finish meant it counted for little, condemning the Terriers to back-to-back defeats as Birmingham recorded a first win since the opening day to leapfrog Town into 15th place.
Huddersfield boss Carlos Corberan told BBC Radio Leeds: "We started the game how we wanted to and we controlled the early part of the game but we didn't create the chances we expected to create and we didn't use our set-pieces well.
"They were very focused on defending and using the counter-attack and we had another type of idea - we wanted to have the ball, we wanted to dominate and create chances.
"I think in the second half we reacted really well and we did everything we have to do to change the result of the game but unfortunately they scored on the counter-attack with their only chance of the second half."
- Line-upsMatch StatsLive Text
- 30Etheridge2Colin4Roberts12Dean5Friend17Sánchez20GardnerSubstituted forLekoat 79'minutes19San JoséBooked at 75mins34SunjicBooked at 35minsSubstituted forClaytonat 67'minutes11Bela9HoganSubstituted forJutkiewiczat 60'minutes
- 1Hamer26Schindler6HoggSubstituted forO'Brienat 57'minutes12Stearman2Ávila7BacunaSubstituted forPritchardat 45'minutes14Eiting19Koroma3Toffolo11DiakhabyBooked at 19minsSubstituted forMbenzaat 79'minutes22Campbell
- 8O'Brien10Pritchard17Duhaney18Mbenza27Crichlow28Brown44Castro Pereira
Referee:Leigh DoughtyMatch StatsHome TeamBirminghamAway TeamHuddersfieldPossessionHome23%Away77%ShotsHome14Away12Shots on TargetHome4Away2CornersHome2Away4FoulsHome18Away10Live TextPost update
Match ends, Birmingham City 2, Huddersfield Town 1.
Second Half ends, Birmingham City 2, Huddersfield Town 1.
Offside, Huddersfield Town. Alex Pritchard tries a through ball, but Pipa is caught offside.
Attempt missed. Jérémie Bela (Birmingham City) right footed shot from outside the box is high and wide to the right from a direct free kick.
Foul by Richard Stearman (Huddersfield Town).
Iván Sánchez (Birmingham City) wins a free kick in the attacking half.
Corner, Huddersfield Town. Conceded by Marc Roberts.
Christopher Schindler (Huddersfield Town) wins a free kick in the defensive half.
Foul by Lukas Jutkiewicz (Birmingham City).
Attempt missed. Christopher Schindler (Huddersfield Town) right footed shot from the centre of the box is close, but misses to the right. Assisted by Pipa following a corner.
Corner, Huddersfield Town. Conceded by Adam Clayton.
Goal! Birmingham City 2, Huddersfield Town 1. Lukas Jutkiewicz (Birmingham City) left footed shot from the centre of the box to the centre of the goal.
Jonathan Leko (Birmingham City) hits the bar with a left footed shot from the centre of the box. Assisted by Lukas Jutkiewicz.
Harry Toffolo (Huddersfield Town) wins a free kick on the left wing.
Foul by Iván Sánchez (Birmingham City).
Attempt saved. Josh Koroma (Huddersfield Town) right footed shot from the centre of the box is saved in the centre of the goal. Assisted by Isaac Mbenza.
Goal! Birmingham City 1, Huddersfield Town 1. Isaac Mbenza (Huddersfield Town) from a free kick with a right footed shot to the top right corner.
Pipa (Huddersfield Town) wins a free kick in the attacking half.
Foul by Harlee Dean (Birmingham City).
Substitution, Huddersfield Town. Isaac Mbenza replaces Adama Diakhaby.
Page 1 of 6rewindpreviousNavigate to the next pagenextNavigate to the last pageforward