An own-goal by Iceland's Birkir Savarsson in the dying seconds rescued a draw for Hungary in a frenetic Euro 2016 clash that keeps both team's hopes alive of a second round berth. A first-half penalty by Gylfi Sigurdsson put little Iceland on course for a fairytale win. But the European Championship newcomer succumbed to waves of late Hungarian pressure. With 88 minutes gone, substitute Nemanja Nikolic sent a low ball into the area and in the thick of a goalmouth scramble, Savarsson touched the ball into his own net. Prior to the tournament both teams viewed this Marseille tie as their best opportunity to get a win. But unfancied Hungary's shock 2-0 victory against Austria Tuesday meant a slot in the last-16 beckoned if it could beat the Scandinavians. Hungary had more of the ball in the first-half, but, more used to playing a counterattacking game, it failed to craft clearcut openings against a physical Iceland defense. Its midfield trio of Laszlo Kleinheisler, Balazs Dzsudzsak and Zoltan Stieber probed industriously. But the nearest it came to hitting the target in the first half was a Kleinheisler effort that raked across the goalmouth on 33 minutes. In contrast, Iceland attacks carried more direct menace, with its best chance falling to Johann Gudmundsson on the half hour. Having shouldered right-back Tamas Kadar off the ball, he found himself one-on-one against Hungary goalkeeper Gabor Kiraly but angled a weak shot straight at the 40-year-old, the oldest player ever to play at a European Championship final. Approaching half-time Kiraly took center-stage in a horror show he will want to forget. Six minutes before the break he fumbled a corner from Johann Gudmundsson, then tripped Ragnar Sigurdsson while grappling to recover the ball. In the scramble that ensued referee Sergei Karasev pointed to the spot for a kick by Kadar on Gunnarsson. He dived the wrong way for the penalty as Sigurdsson fired smartly to the left to give the Scandinavians the lead. Kiraly kicked the ball away in disgust. After the break the Magyars resumed their pressure with Kleinheisler blasting over over twice in five minutes. But it was Iceland which could have extended their lead on the hour, Sigthorsson heading wide from point-blank range after a pinpoint cross by Sigurdsson. The goal-shy Magyars toiled anxiously for the leveler with Dzsudzsak twice sending free-kicks straight at Hannes Halldorsson. As Hungary anxiously sought an equaliser Bernd Storck sent on Nikolic as an extra striker but they appeared to lack the final breakthrough touch. Nikolics cross finally secured the equaliser to break Icelandic hearts. Iceland, which nearly stole a winner with the final kick, a snapshot by subsitute former Chelsea and Barcelona forward Eidur Gudjohnsen, faces Austria on Wednesday in their final group game. The Nordic minnows need a win to seal a berth in the knockout stages. Hungary can progress by avoiding defeat against Portugal in Lyon the same day.