Spain started on the front foot and created several chances early on, but Georgia goalkeeper Giorgi Mamardashvili was equal to the efforts of Daniel Carvajal and Pedri, while Nico Williams went wide from the edge of the area.

The first goal was scored at the end of the field and with a great assist from Spanish defender Robin Le Normand, who cleared Otar Kakabadze's cross into the wrong goal, giving Georgia a 1-0 lead in the 18th minute.

Spain responded with furious attacks and had to wait because Fabián Ruiz, Pedri and Marc Cucurella could not handle Mamardashvili, who had his hands full with work.

Luis de la Fuente's men were finally rewarded for their power play just before the break when Williams set up the ball for Rodri, whose left-footed shot into the bottom right corner left Mamardashvili with no chance in the 39th minute.

Georgia continued to be dangerous after the break when Khvicha Kvaratskhelia tried to catch Spanish goalkeeper Unai Simon with a shot from distance, Xinhua reports.

Spain went in search of the lead and made it 2-1 in the 51st minute when a precise cross from Lamine Yamal found Ruiz, who headed in from close range.

Georgia did its best and was caught off guard following a counterattack when a long ball from Fabian allowed Williams to finish the job with a solo run and hit the roof of the net in the 75th minute.

The relentless Spaniards did not finish the score and reached the fourth in the final period after Dani Olmo's low shot beat Mamardashvili into the bottom left corner.

With the victory, Spain, three-time Euro champions, will face the tournament host, Germany, on Friday at the MHP Arena in Stuttgart.

"It was as we expected, a difficult game for us. We knew it, but we made life difficult for ourselves in the first half. We were also nervous after conceding the goal, but we reacted well with the equalizer before the break. We have to show our best football now against Germany, host of the tournament," said Spanish player of the match, Rodri.