Bosnia-Herzegovina ended Iran's hopes of advancing to the knockout stages at the World Cup with a 3-1 victory in Group F on Wednesday.
Edin Dzeko opened the scoring in the 23rd minute with a low shot from 20 yards (meters), deflecting in off the post.
Miralem Pjanic made it 2-0 in the 53rd with an angled shot from inside the box.
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.