Goals from John Marquis and Marcus Harness gave League One side Portsmouth victory at QPR in the Carabao Cup.
Championship side Rangers had most of the possession and created a number of chances in the second-round clash.
But Marquis’ 76th-minute penalty put Pompey ahead and Harness sealed their win five minutes later.
Marquis tucked away the spot-kick after being brought down by defender Toni Leistner.
And worse followed for the hosts when Ross McCrorie sprinted past Leistner on the left and laid the ball across to Harness, who applied the finish.
Marc Pugh had missed a great chance for QPR early in the second half, heading straight at Craig MacGillivray from Ryan Manning’s cross.
QPR dominated large spells of the first half and almost scored a brilliant early goal.
A lovely team move started by keeper Liam Kelly – left out of the Scotland squad in favour of MacGillivray – led to Ilias Chair playing in Jan Mlakar, whose ball across the face of goal just evaded Bright Osayi-Samuel at the far post.
However, for all their neat approach play, Rangers were unable to break the deadlock and Pompey took full advantage after Leistner’s rash challenge.
QPR’s miserable night was summed up when a goal was initially given after Ebere Eze fired into the net in injury time.
But the effort was disallowed for offside after referee Ross Joyce consulted his assistant.
Portsmouth assistant boss Joe Gallen: “It is great. I really love derby games and I think it’s brilliant that we’re now going to play Southampton.
“We felt that if we could see the opening 20 minutes out we could then get our football going and create some chances.
“I think in the second half we did do that and pushed QPR back quite a bit. The second half was even and at that stage it’s first goal wins really. You start to think that whoever gets the first goal is probably going to win.
“Luckily for us we got the penalty and it’s gone our way. Then after the first goal you could see the confidence. Overall, do I think we deserved it? Yes. I think we edged it.”
QPR manager Mark Warburton: “Not good enough, simple as that. No excuses. We didn’t deserve to go through.
“In the first 20-25 minutes we were very comfortable – probably too comfortable. We looked very good and then in truth we got complacent and sloppy.
“Portsmouth grew into the game and in the second half we flattered to deceive. We had lots of possession but that’s irrelevant because we never really troubled them. They then got the penalty and that changed it.”
Report supplied by PA Media.