SALVADOR, Brazil -- Bosnia-Herzegovina ended Iran's hopes of advancing to the knockout stages and registered its first World Cup win in the process with a 3-1 victory in Group F on Wednesday.
The Bosnians took a commanding 2-0 lead with goals from Edin Dzeko in the 23rd and Miralem Pjanic in the 53rd before Iran hit back.
Reza Ghoochannejhad gave some hope to the Iranians with a tap-in goal in the 81st, but Avdija Vrsaljevic replied immediately with his low shot from the edge of the area to restore the two-goal buffer.
Iran needed a win to have any chance of advancing. The Bosnians were already out of contention at their first World Cup following consecutive losses to Argentina and Nigeria.
Iran coach Carlos Queiroz brought in strikers Khosro Heydari and Karim Ansari Fard in the second half but the shift in systems only netted one goal.
Iran, playing its fourth World Cup, faced criticism for its dour defensive tactics after a 0-0 draw against Nigeria in its group opener. The Iranians also spent much of their game against Argentina packing the defense, but created several chances on counterattacks and nearly caused a major upset before conceding a late winner by Lionel Messi.
Bosnia created most of the chances in the match, with Dzeko -- criticized for missing several opportunities during Bosnia's earlier two matches -- firing a volley over the bar in the 3rd minute, and then heading straight onto Iranian goalkeeper from close.
He opened the scoring in the 23rd minute with a low shot from 20 yards (meters), deflecting in off the post.
Pjanic doubled the lead a half hour later with an angled shot from inside the box.
Iran's only genuine chances came after the goal and in the last frantic minutes with Ghoochannejhad's close-range shot narrowly missing late.