Scott McTominay's extra-time goal finally saw off dogged West Ham as Manchester United's 1-0 win put them through to the FA Cup quarter-finals.
McTominay fired home powerfully from Marcus Rashford's tee-up seven minutes into the additional 30, after United had found themselves frustrated by the visitors for the opening 90.
They nearly found a breakthrough in a first half where the Hammers set out to frustrate their hosts, with Victor Lindelof's header kept out by a superb one-handed Lukasz Fabianski save shortly before the half-hour.
The visitors improved after half-time although Manchester United still enjoyed the best chance, with Marcus Rashford denied by another point-blank Fabianski stop, before Craig Dawson almost won the tie with a glancing header from a corner late on - and in extra-time, McTominay's finish would make all the difference.