Melbourne City were cruising at 3-0 up at the break, but had to withstand a fierce second-half comeback to seal the 3-2 win against Perth Glory.
Melbourne City had the goalpost to thank after holding off a frenetic fightback from Perth Glory to notch a 3-2 A-League victory at HBF Park.
City led 3-0 after 34 minutes of Sunday's clash following goals from Rostyn Griffiths, Florin Berenguer and Market Susaeta.
But Glory came out with renewed spirit after halftime, with Joel Chianese's 53rd-minute strike and Bruno Fornaroli's 65th-minute effort igniting the 8107 crowd.
Perth skipper Diego Castro came close to levelling on 74 minutes, only for his curling strike to rebound off the upright.
And the crossbar saved City in the 90th minute when goalkeeper Thomas Glover got a fingertip onto Fornaroli's strike and the ball glanced off the woodwork.
Perth would have jumped to second spot with a win.
Instead, they are now fourth and six points adrift of second-placed City, albeit with a game in hand.
Wellington are now in third spot - three points behind City and three points ahead of Perth.
"The reaction was fantastic," Glory coach Tony Popovic said of the fightback.
"We could have won two or three football games in the second half, but in the end we just couldn't manage to get another goal or another couple of goals."
Victorious Melbourne City coach Erick Mombaerts was proud of his players.
"It's a great win for us, it was a crazy game," he said.
Glory defender Alex Grant had a goalward-bound header cleared off the line in the 15th minute, but the remainder of the half belonged to the visitors.
It all started with a slice of luck in the 24th minute.
Griffiths' attempt to latch onto a corner kick went awry when the ball bobbled through his legs with the goal beckoning.
Luckily he was able to regain his composure in time to poke home.
Berenguer doubled the lead in the 34th minute with a beautiful 21-metre curling strike that gave Glory goalkeeper Liam Reddy no chance.
Alarm bells were already ringing at that point, but Glory's defence failed to rise to the occasion.
Reddy and his defensive unit were simply flat-footed when City captain Scott Jamieson slid a low pass across the box.
Susaeta sprinted to meet the ball at the far post for the easiest of tap-ins.
Perth coach Tony Popovic introduced his son Kristian and Ivan Franjic at halftime, and the move paid instant dividends.
Franjic's cross was met by Fornaroli, whose header was brilliantly saved by Glover.
But Chianese was on hand to tap in the bouncing rebound with a clever flick.
Fornaroli scored Glory's second after excellent lead-up work from Castro and Chianese, but Perth were unable to find the equaliser despite unleashing wave after wave of attacks.