In the opening match of the tournament on 16 June, Iran drew Nigeria 0–0, making it their first clean sheet of the FIFA World Cup. In their next match, Iran was defeated by Argentina 1–0 with a late goal from Lionel Messi, and received praise after holding Argentina for 90 minutes while creating some attacking opportunities of their own. Iran was eliminated from the tournament in their next game, a 3–1 defeat to Bosnia and Herzegovina. Iran's lone goal was scored by Reza Ghoochannejhad. After the tournament, Queiroz declared he would resign as manager of Iran, but later switched and extended his contract until the 2018 FIFA World Cup.