Peru beat Paraguay 4-3 on penalties to move into the Copa America semifinals on Friday following an action-packed match that ended 3-3 after 90 minutes.

Gustavo Gomez put Paraguay ahead in the 10th minute but two goals from Gianluca Lapadula gave Peru the upper hand before Gomez was sent off on the stroke of half-time.

ALSO READ - Brazil survives late Chile onslaught to reach Copa America semifinal

Junior Alonso equalised for Paraguay nine minutes into the second half only for Yoshimar Yotun’s 80th minute shot to be deflected past Antony Silva. Just when it looked like that would be it, Paraguay equalised again in the final minute through Gabriel Avalos, moments after Peru’s Andre Carrillo had been shown a red card.

The victory means Peru will meet Brazil in the semifinals.