West Ham gained a routine 4-0 win over League One side Doncaster Rovers to set up an FA Cup fifth-round tie against either Manchester United or Liverpool.
The Hammers went ahead in the second minute when Andriy Yarmolenko released Ryan Fredericks and his pull-back was steered into the net by Pablo Fornals.
Yarmolenko made it 2-0 as he lifted a finish over Doncaster goalkeeper Ellery Balcombe after Said Benrahma’s pass.
According to the BBC Sport report, Andy Butler scored an own goal and Oladapo Afolayan added a fourth.
Substitute Afolayan had only been on the pitch for eight minutes and netted his first Hammers goal from close range when Fredericks’ shot was parried by Balcombe.
The fourth-round match between Premier League leaders Manchester United and last season’s title winners Liverpool will be played at 17:00 GMT on Sunday, 24 January and will be broadcast on BBC One with coverage beginning at 16:30.
West Ham v Doncaster as it happened, plus analysis and reaction from Saturday’s fourth-