Southampton deservedly beat West Ham to reach the FA Cup quarter-finals.
The Saints led when French left-back Romain Perraud swerved a screamer into the top corner from 30 yards out for his first goal in England.
West Ham levelled when Michail Antonio tapped in after Willy Caballero punched a cross straight at Kurt Zouma.
But James Ward-Prowse's penalty gave Southampton the lead and Armando Broja added an injury-time third, cutting in before slotting home with good skill.
The penalty came after Craig Dawson brought down Broja just as the Saints substitute was about to shoot.