Barnsley and their under-pressure manager Lee Johnson, are back in business.
After a dismal run of eight straight league defeats, the Reds triumphed at Johnson’s former club Oldham thanks to goals from Conor Hourihane and debut boy Kevin Long.
Burnley loanee Long fired in from close range in the 90th minute, to the huge relief of Johnson and the near 600-striong travelling army.
The Reds led at the interval, and deservedly so. They ought to have scored a number more than just the single goal they did register.
The breakthrough came after half-an-hour. James Bree smartly teed up Conor Hourihane, and the talented midfielder crashed home a super shot - via a slight deflection - into the top corner to make it four for the season so far.
The visitors bossed proceedings throughout the opening 45 minutes.
Marley Watkins went close early on, before the woodwork saved Oldham in the 18th minute.
Ivan Toney tapped the ball to Adam Hammill, who looked on agonisingly as his low shot struck the base of a post.
The hosts were also saved by a goal-line clearance from Cameron Dummigan as he denied Watkins from close range.
Again the Reds dominated the early stages of the second period, with the woodwork again coming the hosts’ rescue after an hour.
Hammill swung in a great cross for Ivan Toney, whose powerful header struck the crossbar.
Hammill then curled a sweet strike inches wide from the corner of the Oldham penalty box.
Just when it was beginning to look like the Reds were set to hang on to their single-goal lead, Oldham levelled with 12 minutes to go when Mark Yeates squeezed a shot under Adam Davies after a neat lay-off from Dominic Poleon.
However, debut boy Long struck the Reds’ winner in the 90th minute, volleying home after sub Simeon Jackson’s initial shot had been parried by Oldham ‘keeper Joel Coleman.
Oldham (4-4-1-1): Coleman; Dummigan, J Wilson, B Wilson, Mills; Philliskirk, Dieng, Kelly, Yeates; Rasulo; Poleon. Subs: Cornell, W, Fulton, Eckersley, Fuller, Higdon, Brown.
Barnsley (4-4-2): Davies, Bree, Mawson, Long, A White; Hammill, Pearson, Hourihane, Isgrove; Watkins, Toney. Subs: Townsend, Roberts, Nyatanga, Winnall, Jackson, Wabara, G Smith.
Referee: Graham Salisbury (Preston).