Alexis Sanchez made his Chile return as his nation overcame Mexico 1-0 in a friendly on Tuesday.
In his first appearance for Chile since March, Sanchez enjoyed some good moments in Santiago de Queretaro.
But while he was unable to provide the goals coach Reinaldo Rueda wanted, he helped set up Nicolas Castillo's 89th-minute winner for Chile.
Castillo capitalised on a parry by Mexico goalkeeper Hugo Gonzalez to score just his second international goal.
Mexico made a bright start before Chile almost took the lead after a quarter of an hour, Mauricio Isla firing wide from inside the area after an Arturo Vidal pass.
The opening half-hour was largely open, and the hosts went close through Marco Fabian, whose low side-footed strike was pushed away by Brayan Cortes in the 19th minute.
Both teams lacked a final pass, with Sanchez twice wasting decent opportunities to provide for Chile.
However, Sanchez created a great chance for the visitors seven minutes before half-time, the Manchester United attacker setting up Junior Fernandes, who was denied by a brilliant low save by Gonzalez.
It was Mexico who started the second half well, and Raul Jimenez put a header over the bar in the 49th minute.
Gonzalez kept the hosts level midway through the second half, diving to his left to push away an Angelo Sagal header after Sanchez had released Eugenio Mena to cross.
Paulo Diaz had an effort ruled out for offside with 14 minutes remaining, but Chile found a winner.
Sanchez's well-weighted touch set up Castillo, whose 20-yard strike was parried by Gonzalez, the striker getting to the rebound quickest to tuck away the winner.
¡Finalizó en Querétaro! #LaRoja triunfó ante @miseleccionmx por 1-0 y sigue con su preparación para los próximos desafíos internacionales.— Selección Chilena (@LaRoja) October 17, 2018
¡A seguir por este camino, muchachos! #VamosChile pic.twitter.com/zkRnVbnhmf
What does it mean: Chile still struggling in attack
Sanchez's return provided Rueda's side with a spark, but they still reached no great heights in attack. Chile have now scored just eight goals in eight games since the start of the year.
Sanchez shows good signs
Already under fire for his club performances this season, Sanchez was good in different patches against Mexico. While his final pass was lacking at times, he also set up one of Chile's best chances for Fernandes before having a hand in the winner.
Chile give Rueda much-needed win
Rueda took charge of Chile in January, but the win was just his third from eight games in charge. Castillo's late winner was a much-needed one for Rueda as Chile look for form and confidence with the Copa America just eight months away.
Mexico will face Argentina in two friendlies next month, while Chile take on Costa Rica and Honduras.
|This can´t happen at Liverpool – Kovac warns Bayern over defensive errors|
|Thomas, Scott lead Genesis Open|
|Koulibaly pleased with transfer interest, but happy at Napoli|
|Allegri: Juventus must score in Madrid|
|Kuchar addresses criticism, apologises for paying fill-in caddie $5k|
|Life is for warriors – Neymar defiant as injury recovery continues|
|Neuer: Bayern Munich must cut out defensive ´madness´|
|Kovac: Bayern had Liverpool on the mind against Augsburg|
|Wawrinka and Nishikori to meet in Rotterdam semi-finals|
|Gloucester down leaders Exeter, Wasps beat Bristol|
|McCloskey marks landmark with try in Ulster win, Munster run riot|
|Allegri hails Dybala after Juventus star ends goal drought|
|Kovac fearful over fresh Coman ankle injury|
|Mahrez incredible in training - Guardiola takes blame for star´s exile|
|Depay can be among world´s best – Rafael|
|Wood ´felt like a superhero´ in devastating match-winning spell|
|QPR 0 Watford 1: Capoue strike secures quarter-final berth|
|Kaepernick v the NFL: How we got here|
|Juventus 3 Frosinone 0: Ronaldo rounds off routine romp|
|Augsburg 2 Bayern Munich 3: Classy Coman shines in comeback win|
|Ndombele draws Pogba comparisons from Lyon coach Genesio|
|Coady and Doherty pen new deals with Wolves|
|Kaepernick and Reid reach settlement in NFL collusion case|
|Neuer back in Bayern team after thumb injury|
|Giggs, Scholes and Beckham met Ferguson´s standards because of Harrison – ´Class of ´92´ graduate Ca|
|Mertens upsets Kerber to set up Halep Doha decider|
|Valverde: Barcelona scared? We´re top of LaLiga!|
|North and South Korea want to co-host 2032 Olympics|
|Zaha appeal against ban dismissed|
|Chisora to work with Bellew´s former coach Coldwell|
|Valverde still unsure on Umtiti return date ahead of Lyon tie|
|Hudson-Odoi getting enough Chelsea chances, insists Zola|
|Sexton back in full Ireland training|
|Chelsea, Malmo facing UEFA charges|
|Magnificent Halep storms back to reach Qatar Open final|
|No nerves for Ferrari new boy Leclerc|
|Solskjaer´s Manchester United impact has been remarkable - Zola|
|Valverde delighted by extra responsibility of new Barcelona contract|
|Martial and Lingard injuries open the door to Gomes and Chong – Solskjaer|
|Semenya backed by South African government in IAAF challenge|
|Proteas collapse gives Sri Lanka hope in Durban|
|Wales star Halfpenny misses Scarlets match|
|Guardiola: Wigan a warning to Manchester City for Newport trip|
|Martial, Lingard out for up to three weeks|
|Milan will need helmets against Atalanta - Gattuso|
|Suso ´deserves Milan renewal´ amid Spurs & Arsenal links|
|Tuchel avoids touchline ban from FFF|
|Christian crushes Sixers to set up all-Melbourne final|
|Newport star Amond hopes glasses are raised after Otamendi reunion|
|Aaron Smith try snatches win over Chiefs for 14-man Highlanders|
|A-League Review: Melbourne City drop points again as Newcastle Jets close on top six|
|Pieters pegged back by late bogey in Perth|
|Stability, a thriving Messi and success despite poor recruitment – Why Barca are keeping Valverde|
|Jenkins unperturbed by Jones´ Wales dig|
|Pogba wasn´t happy – Rafael applauds Solskjaer´s impact on Man United players|
|Turn the stump mics up! - Moeen wants sledging televised|
|Valverde signs one-year extension at Barcelona|
|Klopp almost became Bayern coach – Hoeness|
|Barkley to Davis: Don´t ruin your reputation as one of the nicest guys in the world|
|Westbrook extends triple-double streak in Thunder´s loss to Pelicans|
|Llorente ´very satisfied´ at Tottenham|
|Dodgers´ Bellinger: Even when I´m not good, I´m still really good|
|Harvick, Logano win Can-Am Duels|
|Pelicans star Davis suffers shoulder injury|
|Thiem stays perfect in Buenos Aires, Ferrer exits|
|Spieth tied for lead at rain-hit Genesis Open|
|´Special´ Son is one of Premier League´s best, says Vertonghen|
|Team LeBron v Team Giannis by the numbers|
|Kerr fined $25k for ´verbally abusing´ official in Warriors´ loss to Trail Blazers|
|Icardi situation needs to be resolved – Martinez|