West Ham avoided an FA Cup fifth-round upset with a 5-1 comeback victory at second-tier Blackburn on Sunday.
Ben Marshall put the hosts ahead with a low, left-footed strike after 20 minutes, before Victor Moses equalized for the Hammers after a run from the halfway line.
Dimitri Payet put West Ham ahead with a free kick from 25 yards (meters).
Emmanuel Emenike then struck twice in the second half to make West Ham safe, before Payet got his second goal in stoppage time.
Chris Taylor was sent off for Blackburn and Cheikhou Kouyate for West Ham, both in the second half.
Tottenham plays Crystal Palace and Chelsea hosts Manchester City in Sunday's other FA Cup games. Third-tier Shrewsbury hosts Manchester United on Monday.
The quarterfinal draw is held later Sunday.