Despite first half goals from Robert Lewandowski and Renato Sanches, it took a penalty shootout to separate the sides, with the Seleccao coming out on top
Portugal booked their place in the semi-finals of Euro 2016 on Thursday as they beat Poland 5-3 on penalties.
The game got off to a bright start with Robert Lewandowski and Renato Sanches finding the net in the first half, but the sides could not be separated again after two hours of play.
With the game resorting to penalties, it was Quaresma who proved the hero, converting the definitive spot kick to send his side into the last four.