spain are through to the semi-finals of the fifa confederations cup south africa 2009 but they were made to work for their place, and a 1-0 victory, by a resolute ıraq side.
the asian champions made life difficult for their european counterparts from the offset and nearly snatched a shock ninth-minute opener when alaa abdul zahra snatched on a gerard pique mistake to test iker casillas from 20 yards. spain quickly established a stranglehold on possession, however, and mohammed kassid had to rush from his line to deny fernando torres after the liverpool striker worked a delightful one-two with xavi.
david villa, meanwhile, was chasing the goal that would take him past fernando hierro as spain's second-top all-time scorer, and he came close on 24 minutes with a left-foot volley that flashed into the side-netting.
chances remained at a premium though, with ıraq generally successful in subduing their illustrious opponents, and villa must have wondered if this was not to be his day when he spurned a glorious chance seven minutes into the second half. santi cazorla curled in a tantalising cross but, though unmarked ten yards from goal, the valencia striker headed straight at the grateful kassid.
yet, like any great striker, villa picked himself up and made amends with a superbly-taken winner, directing a precise header just inside the far post following another terrific cross from marauding left-back joan capdevila.
spain continued to dominate and xabi alonso forced a fine save out of kassid, but as the clock ticked down nashat akram almost snatched a dramatic equaliser, firing just wide from 25 yards with casillas rooted to the spot. la roja held on for a deserved victory, however, and in doing so equalled the longest winning streak in international football: 14 matches.