Wales have finally ended their 64-year wait to play at a World Cup finals by beating Ukraine 1-0 in a pulsating play-off final in Cardiff.

Gareth Bale, so often Wales’ talisman, again produced the decisive moment with his 34th-minute free-kick headed into his own net by Andriy Yarmolenko.

But Wales goalkeeper Wayne Hennessey took the man-of-the-match honours with an outstanding display that kept the gifted Ukrainians at bay.

So, over six decades after reaching their one and only World Cup in Sweden in 1958, Wales are back at football’s global table.

And, just like at Euro 2016 in France, Wales will find themselves in the same group as England, with Iran and the United States for company.

Success was achieved in the face of the world willing Ukraine on to victory against the odds.

Russia’s invasion of the country in February, and the bloody conflict that has ensued, made Ukraine the choice of neutrals.

But, as Bale said before kick-off, Wales could not show compassion on the field and that proved to be the case when nerves were stretched to the limit.

As Ukraine’s players wilted to the floor on the final whistle, Wales celebrated after banishing the ghosts of history.

"It's difficult to put it into words," said Wales' talisman Bale.

"It's what we've been working all our careers for and to do this for the fans, the nation, ourselves and our families is an incredible achievement, and it will be something that we will be forever proud of.

"It means everything. It is the last piece of the jigsaw that we all wanted and we're going to celebrate well tonight.

"The result is the greatest in Welsh football history. We're going to a World Cup - it's what dreams are made of, we've been working towards it since I first came in here.

"Words can't describe how we feel at the moment."

Ukraine’s Andriy Yarmolenko sits dejected on the turf as Wales celebrate victoryUkraine’s Andriy Yarmolenko sits dejected on the turf as Wales celebrate victory (Mike Egerton/PA)

So near, so far, in the past. Gut-wrenching failures had slipped into Welsh legend since John Charles and company reached the 1958 quarter-finals before losing to Brazil and a solitary Pele goal.

Joe Jordan’s handball at Anfield in 1977, more penalty heartbreak against Scotland eight years later, Paul Bodin’s decisive spot-kick miss at home to Romania in 1993 and a 2018 defeat to the Republic of Ireland haunted Welsh memories.

This time it felt different. Bale, despite being woefully short of game-time as his Real Madrid career drew to an inauspicious close, had dragged Wales over the semi-final line against Austria with a brilliant brace.

Bale had played just 30 minutes of football since that Austria win on March 24, but he led out a side showing one change from that game.

The fit-again Kieffer Moore replaced Harry Wilson to pose an aerial threat to Ukraine’s defenders, who had an easy ride against Scotland on Wednesday.

Ukraine had spent huge energy on an emotional night at Hampden, their first competitive match since November. The key question was whether they could summon the same spirit and strength just four days on in front of a partisan Welsh crowd demanding to witness history.

Manager Oleksandr Petrakov said a huge Ukrainian flag sent by soldiers from the battlefield, and signed by President Volodymyr Zelenskyy, had been hung in the visitors’ dressing room.

Petrakov kept faith with the side that had beaten Scotland, and Ukraine’s support included 100 refugees who had been given free tickets by the Football Association of Wales.

Ukraine had the ball in the net after two minutes, but Oleksandr Zinchenko had taken the free-kick too quickly for the taste of Spanish referee Antonio Mateu Lahoz.

Hennessey saved the second attempt from Ruslan Malinovskyi, but the goalkeeper was the busiest man on the pitch as Ukraine almost opened up Wales at will.

Wayne Hennessey makes a save against UkraineWayne Hennessey was the star performer for Wales (David Davies/PA)

The Burnley goalkeeper kept out efforts from Viktor Tsygankov and Roman Yaremchuk, and had to use every bit of his 6ft 6in frame to push another deflected effort to safety.

Zinchenko and Tsygankov forced further stops from Hennessey, and it looked a matter of time before Ukraine would score the goal that their supremacy deserved.

But Wales, whose best attempt saw Neco Williams drag wide from just outside the box, took the lead after Daniel James had been fouled 25 yards out.

Bale lined up the free-kick and the intervening head of Yarmolenko saw the ball flash past Georgiy Bushchan in the visitors’ goal.

Ukraine responded as Zinchenko’s powerful shot was tipped around a post, and Wales were relieved to escape a VAR review when Yarmolenko was caught by Allen.

Oleksandr Zinchenko, right, goes for goalOleksandr Zinchenko, right, goes for goal (David Davies/PA)

Bushchan denied James on the stroke of half-time, and Wales should have given themselves breathing space four minutes after the break.

Williams sent James free and he found Moore down the left. Moore played an inviting ball into the path of Aaron Ramsey, who with the goal at his mercy missed the target.

The temperature was rising and Wales boss Robert Page was booked for dissent after James went to ground but no foul was given.

Hennessey had been afforded a quieter start to the second half, but produced a wonderful stop to deny Tsygankov with his legs before Yaremchuk stabbed the rebound wide.

Wales sent on Brennan Johnson and the Nottingham Forest youngster struck the post with his first touch.

Georgiy Bushchan, left, saves from Gareth Bale, centre, in the closing stagesGeorgiy Bushchan saves Gareth Bale’s effort in the closing stages (David Davies/PA)

But Wales were indebted to Hennessey again when he somehow clawed away Artem Dovbyk’s header.

Bale almost sealed victory before making way in the final 10 minutes, but his dream of adding a World Cup appearance to his glittering CV has finally come true.

Influential Wales goalkeeper Wayne Hennessey told Sky Sports: "It's incredible. Everyone on the pitch tonight was amazing, and even those who didn't make it on tonight.

"That's the best game I've had in a Welsh shirt, I'm buzzing.

"Gareth is so dangerous from free-kicks, an amazing talent and a joy to watch.

"We're a small nation, and it's great to take everyone to a World Cup."

And defender Ben Davies, who was also immense throughout, said: "There was a lot of emotion in this game, but we stood up brilliantly.

"Every challenge they threw at us we dealt with.

"It's incredible, a dream come true, as a squad we've worked so hard for this.

"We may not have the most talented group but we give it everything we have got."

Wales midfielder Joe Allen said: "It's hard to put into words. We've been dreaming of this for a long time now.

"We've had to ride our luck at time, call on Wayne and defend for our lives, but let the celebrations begin.

"I'd love to say we were calm, it was tough, I got booked early on but I think we got it together.

"We've come a very long way, we want to make sure this carries on.

"The quality has gone through the roof, and a World Cup will be incredible to see."

And emotional Wales manager Rob Page said he was proud of the team.

"They thoroughly deserved it," he said. "The one thing these boys were missing was a World Cup and now we've got there.

"These are the best supporters in world football, they helped us from the first minute.

"When you see what these guys do in training, I had full trust in them."