Denmark controlled the match broadly, but the final minutes offered some drama.

Spanish goalkeeper Gonzalo Perez de Vargas Moreno nailed it again and gave the Spaniards a chance to recover.

The four-goal lead that the Danes had at the beginning of the second half shrank to a meager goal with five minutes left to play.

But Denmark stood on the podium and when Mikkel Hansen sent in his eleventh goal in the match on penalties, the Spaniards had no chance to get back.

Denmark is ready for the final and there awaits France, who defeated Egypt by 27-23 earlier on Thursday.

The final will be played at 2 pm on Saturday Swedish time.

Spain will face Egypt in the bronze match at 10 on the same day.