They fell behind early to a great strike from Edin Dzeko, but thereafter enjoyed most of the possession and created several chances themselves, hitting the bar immediately after conceding.
But Carlos Queiroz's men could not find a way through, and Miralem Pjanic added a second as Bosnia played on the counter. Iran did manage to avoid becoming the only team in the tournament to fail to score a goal thanks to Reza Ghoochannejad, but the slim hope given to them by the goal was quickly erased by a strike from Vrsajevic just a minute later.
Iran were not really expected to do much in the tournament, and although they played very negatively in all of their games - until falling behind here - they did exceed expectations and were unlucky to only pick up one point from their games against Argentina and Nigeria.
But it is now Nigeria who will go through into the knockout stages, where they will likely face off against France. For Bosnia, the tournament may represent something of a missed opportunity, but with the likes of Sead Kolasinac and Muhamed Besic looking sharp, they can be assured of a bright future.
23' - GOAL! Bosnia 1-0 Iran. Dzeko isn't given enough attention as he advances towards the Iran area, and lets fly with an effort which creeps into the net past the reach of Haghihi to put Bosnia ahead.
24' - IRAN HIT THE BAR! Immediately after the goal Iran fly out of the traps and Sadeghi almost equalises immediately when he crashes his effort off the bar.
58' - GOAL! Bosnia 2-0 Iran. Pjanic drifts into the right channel and escapes the attention of his markers to collect the ball and slot it beyond Haghihi.
80' - GOAL! Bosnia 2-1 Iran. Reza Ghoochannejad makes sure Iran don't go home as the only team not to score by turning in a corner and giving his team some faint hope.
82' - GOAL! Bosnia 3-1 Iran. That hope is soon eliminated as Vrasjevic escapes down the left channel on the counter-attack and hammers an excellent finish past Haghihi to complete the scoring.
12 of the last 14 goals Iran have conceded at the World Cup have come in the second half.
Iran have never won against European opposition at a World Cup.
A missed opportunity for Bosnia? Bosnia might look back with a lot of regret on this tournament. They had the quality to do better than they had done, and were desperately unlucky that Edin Dzeko had been poor against Nigeria, with two chances missed in stoppage-time. Their younger players looked good, but they'll lose a lot of experience for the next time they have a chance to get to a World Cup.
MAN OF THE MATCH
Miralem Pjanic (Bosnia): Pjanic had been quieter in the previous two games, but gave an excellent performance here, getting on the scoresheet and being the main source of his side's creativity as they gained their first ever win at a World Cup.
Bosnia: Begovic 7, Vrsajevic 7, Sunjic 6, Spahic 7, Kolasinac 6, Hadzic 5, Pjanic 8, Besic 7, Susic 6, Ibisevic 6, Dzeko 7. Subs: Salihovic 6, Visca 6, Vranjes 6.
Iran: Haghihi 5, Hosseini 6, Sadeghi 6, Montazeri 5, Pooladi 5, Nekounam 5, Teymourian 6, Hajsafi 5, Shojaei 5, Dejagah 4, Ghoochannejad 7. Subs: Jahanbakhsh 6, Heydari 7, Ansarifard 6.
MATCH IN A TWEET
- Sports & Recreation
- Bosnia and Herzegovina
- Miralem Pjanic
- Edin Dzeko