Nani scored Portugal's first goal in the last match of the group stage, a 3–3 draw against Hungary on 22 June, to help the team qualify for the knockout round. He then contributed to the only goal of the match in a 1–0 extra-time victory in the round of 16 against Croatia on 25 June. During their quarter-final match on 30 June against Poland, Nani set up Renato Sanches' goal in regulation time and later scored Portugal's fourth penalty in an eventual 5–3 shoot-out victory, following a 1–1 draw after extra-time. In the semi-finals against Wales on 6 July, he scored the second goal in a 2–0 victory. In the final against host-nation France on 10 July, Nani was awarded the captain's armband after Cristiano Ronaldo was forced off in the opening 25 minutes of the match following a challenge from Dimitri Payet. During extra-time, substitute Eder scored in the 109th minute to earn Portugal a 1–0 victory.