
Preston captain Andrew Hughes (second right) was released by Cardiff as a youth player
Preston North End hauled themselves off the bottom of the Championship as they thrashed Cardiff City to earn their first away win of the season and ruin the Bluebirds' unbeaten home record.
Preston had only mustered two points and six goals from their previous eight matches on the road in this campaign.
But they looked a different prospect in south Wales, as Graham Alexander's men were as clinical as their hosts were hopeless.
North End punished some dismal home defending to lead 2-0 at half-time.
Cardiff centre-back Krystian Bielik was at fault for the opening goal, giving the ball away needlessly to begin a Preston attack which ended with Stan Mills' cross being fired in from close range by Thierry Small.
The second goal was similarly avoidable from the Welsh side's perspective, as Ronan Kpakio squandered possession to allow Alfie Devine to double North End's lead with an assured low finish.
Cardiff, who remarkably fought back from 4-1 down to beat Burnley 5-4 in their previous home fixture, briefly threatened a revival here as Jack Moylan hit the crossbar and others went close.
But they continued to be masters of their own downfall with yet more dreadful defending.
In the second half, a loose pass from substitute Chris Willock set Andrew Moran on his way to score Preston's third with a deflected strike.
North End captain Andrew Hughes, born and bred in Cardiff, then headed in a fourth from a corner, much to the disbelief of the jubilant travelling supporters.
Just a third victory of the season lifts Preston up to 22nd in the Championship, three points adrift of safety and six behind Cardiff, who drop to 17th.
Analysis: Revitalised Preston embarrass self-destructing Cardiff

Preston signed Alfie Devine from Spurs in the summer following a loan last season
Cardiff would have been hopeful of protecting their unbeaten home league record against one of only two teams who had fared worse than them on the road this season.
Preston, who started the evening at the foot of the table, had only picked up their second away point of the campaign with Saturday's 1-1 draw at West Ham United.
In south Wales, they could not have wished for more generous and obliging hosts.
Preston's strategy was clear. Sit back, defend compactly and dare Cardiff to come at them, making the home side vulnerable to long balls over their defence.
The plan worked perfectly, as much to do with the Bluebirds' incompetence as it was their opponents' execution.
Brian Barry-Murphy's side bossed possession and pressed high as they always do but without any of their usual attacking menace.
Instead, their eagerness to push forward only left themselves exposed to direct balls over the top.
Preston did what Burnley had done to them earlier this month. The key difference? Preston did not meekly surrender their commanding lead.
Instead, Alexander's men took full advantage of this dream scenario.
While the away fans revelled in the closing stages, their Welsh counterparts streamed towards the exits as Cardiff slumped to a first home league defeat since March.
'The players were magnificent' - post-match reaction:
Cardiff head coach Brian Barry-Murphy:
"We gave the ball away in certain areas which gave the opponents very clear chances on our goal and they took them.
"We weren't able to create enough chances in the final third based on the amount of possession we had and, as such, we found it hard to get back into the game, which was different to what has happened here previously.
"We have to own the result, own the performance and, when we wake up tomorrow, bounce back really quickly and focus all our energy on Sunday [against Swansea]."
Preston manager Graham Alexander:
"It was a brilliant performance. I'm so pleased for the players and the supporters that came down on a Tuesday night all this way to see us and after Saturday's journey [to London].
"The players were magnificent tonight. I think the way they've approached the last two games, especially against massive clubs at this level and then coming to this place undefeated.
"They [Cardiff] score a lot goals, they're a really good team, but to keep them down to a clean sheet… and to score four goals, I think it's really clinical and a super professional performance."
Alexander: 'A brilliant night for us'
Player of the match
After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.