As the clock ticked towards stoppage time and Thailand's Asian Cup hopes hung by a thread, Manuel Tom Bihr climbed highest in the 89th minute to meet Theerathon Bunmathan's corner with a thumping header, securing a dramatic 2-1 win over Turkmenistan at Bangkok's Rajamangala National Stadium.
The goal not only sparked jubilation among the 40,000-strong home crowd but also ensured Thailand leapfrogged their opponents to claim top spot in Group D, booking their place at the AFC Asian Cup finals in Saudi Arabia, in 2027.
For Turkmenistan, who had beaten the War Elephants 3-1 in Ashgabat and needed only a draw to progress, the late blow was devastating. For Thailand, it was redemption -- a hard-fought triumph that reaffirmed their resilience and kept alive hopes of a deeper run on Asia's grandest stage.
Thailand had entered the contest knowing only victory would suffice.
For long spells, the hosts looked destined to fall short, particularly after Teymur Charyyev's thunderous equaliser on the hour cancelled out Suphanan Bureerat's early strike. However, Bihr's late intervention ensured Anthony Hudson's side will join Asia's elite once more.
Thailand began brightly, spurred on by a fervent home crowd, and Supachai Chaided forced a low save from goalkeeper Rasul Charyyev inside four minutes, while Thanawat Suengchitthawon's header soon after demanded another sharp stop.
Theerathon's corner in the 15th minute eventually broke the deadlock, Suphanan arriving at the back post to smash the ball into the net.
The War Elephants continued to press, with Supachok Sarachat curling narrowly wide and Supachai testing Charyyev from distance. But Turkmenistan, physically imposing and direct in their approach, grew into the contest. Their reward came when Abdy Bashimov rose to flick on a high ball, Mihail Titov laid it off, and Charyyev unleashed a vicious first-time drive from 20 yards that flew into the bottom corner.
The equaliser rattled Thailand. Chanathip Songkrasin shot over the bar, Jude Soonsup-Bell fired across the face of goal, and Bihr himself saw an effort blocked. Yet the hosts refused to wilt.
Patiwat Khammai denied Mirza Beknazarov from range, and when Iklas Sanron's attempt was parried in the dying moments, Theerathon's ensuing corner found Bihr, who made no mistake. The roar that followed was as much relief as celebration.
Hudson praised his players' spirit and tactical discipline.
"I'm proud of every one of them," he said. "This was not just about me or the staff, but about the fans and everyone at the Football Association of Thailand.
"We knew how much this game meant. Turkmenistan are strong, aggressive, and dangerous from crosses. We adjusted from a back three to a back four in the second half to add attacking numbers, and the players responded magnificently."
Hudson admitted Thailand had squandered chances in the first half but insisted qualification was the overriding objective.
"The main target was to reach the Asian Cup. We prepared all week to keep pressure off the players, because failure would have been damaging for Thai football. In the end, the team showed great spirit and achieved what we set out to do."
Skipper Chanathip said: "It was a tough game, just as it was away from home. I want to thank my teammates, the coach, and staff. Everyone gave everything. The coach picked the best squad, and all 23 players contributed. Today we made the Thai people happy."
Chanathip singled out veteran full-back Theerathon, whose pinpoint delivery created the decisive goal. "You can't replace his left foot," he said. "He can decide games. I told him to take that corner because I trusted his quality."
The War Elephants will now prepare for Saudi Arabia 2027 with renewed confidence in the wake of the thrilling victory over Turkmenistan.