Struggling Barnsley climbed out of the relegation zone after coming from behind to beat Crystal Palace.
Palace deservedly took the lead when Victor Moses picked out Shefki Kuqi who blasted home from 12 yards out.
Jamal Campbell-Ryce collected a Jon Macken pass, ran clear and finished coolly to bring Barnsley back level.
Palace defender Lee Hills sliced a Rob Kozluk cross into his own net to give Barnsley the lead before Michael Mifsud scored the Tykes' third from 12 yards.
Barnsley boss Simon Davey:
"We went behind after a mistake from Stephen Foster, but the way we bounced back and the character we showed was fantastic.
"I think we know what we need to do to stay in this division, we have to stay focused as a team and management.
"We're not out of danger, but we know what we have to do."
Crystal Palace manager Neil Warnock:
"I've felt its been over for a number of weeks if I'm honest, we've lost crucial players and we aren't good enough.
"We had chances and we've got decent players but we just haven't got a squad to cope with a number of injuries.
"I'm disappointed we're not in the play-offs but we're not good enough and I don't like to be not good enough."
Barnsley: Muller, Hassell, Moore, Foster, Kozluk, Hammill (Devaney 79), Colace, De Silva, Campbell-Ryce, Macken (Bogdanovic 75), Mifsud (El Haimour 89).
Subs Not Used: Steele, Van Homoet.
Booked: Kozluk.
Goals: Campbell-Ryce 23, Hills 52 og, Mifsud 73.
Crystal Palace: Speroni, Derry, Jose Fonte (Ertl 46), Hill, Hills, Stokes, Danns (Oster 66), Carle (Comley 78), Moses, Kuqi, Clyne.
Subs Not Used: Ifill, Rui Fonte.
Booked: Kuqi.
Goals: Kuqi 8.
Att: 10,885
Ref: Graham Salisbury (Lancashire).
www.bbc.co.uk