AFTER one of the most dramatic matches imaginable, it is Spain and not Scotland who have qualified for next summer's European Championship finals in Sweden.

Needing two goals in the second half of extra time, after Kim Little had put Scotland ahead for the second time, Spain got one and then Scotland captain Gemma Fay saved a penalty with a minute remaining. Yet, in the 122nd minute, Veronica Boquete scored to snatch victory from the devastated Scots.

Scotland made one change from the team which drew at Hampden, with Glasgow City's Emma Mitchell coming in for her former team-mate Lisa Evans, now with German side Turbine Potsdam. Spain made two changes, including the return of the influential Boquete who injured her knee ahead of the game in Glasgow.

A torrential downpour 80 minutes before kick-off ensured the surface would prove difficult for both sides, but it was Spain who were first to threaten. Boquete made her presence felt immediately with a shot which was deflected for a corner but, when the ball came over, Chelsea striker Adriana's header flew over the top.

Despite these early scares, the home side were far less dominant than they had been in the opening 20 minutes in Glasgow and the longer the half went on the more the Scots imposed themselves on the game.

After the initial sparring, Scotland started to create good chances after the half hour. Jane Ross, set up by Jo Love, sent a shot over the bar, and then from Kim Little's free kick, Rhonda Jones headed wide.

This wasn't in the Spanish script, and when the heavens opened again, the conditions became even more to Scotland's liking. Jenny Beattie sent a shot just wide from a promising position in the home box, but three minutes from the interval Signeul's side came even closer to making the breakthrough. A downward header from Jones was heading into the net before Spanish goalkeeper Ainhoa Tirapu saved near her left hand post.

For all that the Scots were on top at this stage, they very nearly succumbed to a sucker punch at the tail end of the half. A through ball bounced over right-back Rachel Small's head leaving Adriana clear on goal, but Fay, winning her 150th cap, did well to deflect her shot. From the corner, Spain captain Sandra shot wide.

A mistake by Rachel Corsie gave Adriana a good chance at the start of the second period but, with Sonia clear to her right, she blasted over Fay's bar. At the other end Scotland forced two corners but, from the second, Beattie couldn't get high enough to direct a header downwards.

The Arsenal striker then had another chance in the air from a Little free kick, but again she couldn't direct her header on target.

It was all Scotland, and they came even closer seconds later. Megan Sneddon's throw was flicked on by Beattie, but again Corsie couldn't get the decisive final touch.

Scotland deservedly went ahead after 61 minutes. Rachel Small and Jane Ross combined on the right and the ball was knocked down to Mitchell, who fired home.

Inevitably there was a response from the home side, with Melisa's header being saved by Fay, a fierce shot from Sandra going just wide, and Sonia's shot being cleared by Corsie.

Despite the incessant rain, the Scots seemed to have weathered the storm before Spain equalised with 16 minutes remaining. It was a well worked goal too, Boquete feeding Adriana who cut into the box and curled a fine shot past Fay into the far corner.

The game was held up for a lengthy spell when Corsie fouled Boquete midway inside the Scottish half. The Glasgow City captain was booked and stretchered off. Sonia took the free kick and forced Fay into a fine save, tipping the ball over the bar.

The Scots were on the back foot in the final stages of regulation time, with Fay making another save from Jennifer Hermoso and Sandra squandering a good late chance.

With the game into stoppage time for Corsie's injury, Mitchell's shot was deflected by Tirapu for a corner, and from the delivery, substitute Eilish McSorley should have scored at the far post. If that was close, Boquete had an even better chance for Spain but also lacked the composure to finish.

Eight minutes into extra time, Scotland got the goal which left Spain needing two of their own to win the tie. Little collected the ball on the left and sent in a shot which seemed to move in slow motion as Tirapu got a hand on it before it nestled, beautifully for the Scots, in the net at the far corner.

The second period of extra time brought about predictable Spanish pressure and McSorley headed off the line before Spain equalised for the second time. It came out of nowhere, but Meseguer's shot from 25 yards was a beauty.

Unbelievably, Spain were awarded a penalty after a Jones hand ball. Boquete stepped up confidently to the spot. With both teams' hearts in their mouths Fay saved her side with a fantastic block – just as she had done from Adriana at Hampden.

That seemed destined to take Scotland to Sweden, but with seconds remaining, Boquete made amends for the penalty miss by threading a shot through the visitors' defence for the winner.