Jamie Douglas scored his first goal for Preston as they snatched a point against Carlisle in injury time.
Lee Miller's penalty, after he was fouled by Jamie McCombe, gave the visitors the lead before Iain Hume's free-kick brought Preston level.
Paul Parry's spot kick put the hosts ahead only for goals from Francois Zoko and James Berrett to put the Cumbrians back in charge.
Paul Coutts's mazy run set up Douglas at the back post for a dramatic finish.
The game was held up for nine minutes in the first half as Carlisle's Rory Loy was taken to hospital with a suspected broken leg.