Simon Whaley smashed home a late winner as Preston claimed a controversial win at Burnley, who ended with nine men.
Shots from Chris Sedgwick and Neil Mellor put Preston 2-1 ahead following Kyle Lafferty's headed opener.
Chris McCann then levelled for the Clarets, before being shown red for a two-footed tackle on Sean St Ledger.
Whaley clinched victory eight minutes from time with a 25-yard right-foot strike, before Joey Gudjonsson was sent off for a late challenge on Mellor.
Burnley boss Owen Coyle:
"Preston should have been down to 10 men and facing a penalty after two minutes.
"I thought I heard Stevie Wonder in the stands shouting for a penalty.
"Everybody could see it. I know the referee and played with his younger brother (Andy Mason) at Bolton and we had a chat before the game.
"But those are major decisions and pivotal moments that affected the outcome of games."
Preston boss Alan Irvine:
"I don't want to rely on referees but we've been on the receiving end of some bad decisions recently so it's good for it to go our way at last.
"It's possible that Burnley could have had a free-kick prior to the first sending-off, but the referee played on and it was a two-footed, dangerous challenge.
"The second red card I think was a stamp but this was a big win for us and we need many more."
Burnley: Kiraly, Alexander, Harley, Jordan, Unsworth, Elliott, Mahon (Gudjonsson 56), McCann, Blake (James O'Connor 67), Lafferty (Jones 53), Gray.
Subs Not Used: Jensen, Akinbiyi.
Sent Off: McCann (64), Gudjonsson (90).
Goals: Lafferty 31, McCann 62.
Preston: Lonergan, Jones (Mawene 73), St. Ledger, Chilvers, Hill, Sedgwick, Davidson, McKenna (Carter 48), Whaley, Mellor, Gallagher (Hawley 86).
Subs Not Used: Lewis Neal, Chris Neal.
Goals: Sedgwick 45, Mellor 54, Whaley 82.
Ref: Lee Mason (Lancashire).