Mexico booked its spot at the 2018 World Cup after a hard-fought 1-0 win against Panama in CONCACAF qualifying on Friday.
Hirving Lozano came off the bench to make the difference at the Estadio Azteca, the substitute's header proving decisive.
Mexico, which looked most dangerous on the counter-attack, was deserved winner against a Panama side which rarely threatened.
The result moved Mexico three points clear atop the group in the fifth round of qualifying, and it is guaranteed a top-three finish and place at Russia 2018.
Mexico became the fifth team to qualify for the showpiece tournament, joining Russia, Brazil, Iran and Japan.
Juan Carlos Osorio served the final match of the ban he picked up at the Confederations Cup, but the coach started a strong XI that included Javier Hernandez and Carlos Vela, while Lozano and Giovani dos Santos began on the bench.
Winless in five qualifiers, Panama desperately needed at least a point away from home.
After torrential rain prior to kick-off, Mexico started well, but stubborn defending by Panama meant chances was hard to create.
The host threatened in the 17th minute, Jesus Manuel Corona getting free down the left, but he was unable to find a team-mate with his cross.
Panama had few bright moments in attack, although Guillermo Ochoa did have to make a save from Alberto Quintero, who replaced Erick Davis before the half-hour mark.
The opener appeared to be coming for Mexico, and it went close five minutes before half-time.
Vela played a pass into Hernandez on the left side of the area, but the West Ham forward curled his effort just wide.
The encounter came to life to begin the second half, Ochoa forced into two saves, stopping a 25-yard Ricardo Buitrago free-kick and Quintero effort.
Mexico had a penalty shout turned down in between those chances, but they took a 53rd-minute lead.
Introduced just two minutes earlier, Lozano got on the end of a cross from Corona to head in his fifth international goal.
Mexico pushed for a second, with Panama goalkeeper Jose Calderon making a strong save to keep out a Hector Herrera free-kick in the 69th minute.
Javier Aquino wasted a great chance on the counter-attack moments later, and while Panama had their opportunities, Mexico claimed a deserved win.
- Pro Kabaddi League 2023 LIVE Score, Gujarat Giants vs U Mumba: GG 16-18 UM, Giants makes a comeback after the break
- Indian sports news wrap, December 5: Vivaan win’s men’s trap in National selection trials; Sonal into AITA Women’s quarters
- Vijay Hazare Trophy: TN coach Kulkarni terms quarterfinal against Mumbai as ‘contest between red-ball and white-ball legacy’
- ECB launches cricket regulator to tackle discrimination
- Bayern Munich vs Union Berlin to be played on January 24 after snow chaos