Jesus Navas' goal in injury time allowed a Spain side that was off their game to pull out a 2-2 tie with Chile on Tuesday in an international friendly.
Chile, which dominated the contest in Geneva, has never beaten Spain, while the reigning World Cup and European champions have lost only once in their last 30 matches
Due in part to injuries, Spanish coach Vicente del Bosque fielded a lineup that was substantially different from the 11 who dispatched Finland on the road last week in a World Cup qualifier.
Chile's coach, Jorge Sampaoli, devised a strategy that enabled his charges to dominate time of possession and force the Spaniards into an unaccustomed position.
Eduardo Vargas gave the Chileans an early lead with a goal in the 5th minute.
But even with their offensive rhythm disrupted, the talent-laden Spanish side generated plenty of chances and Roberto Soldado got the equalizer in the 38th minute.
Spain's relief didn't last long, however, as Vargas beat defender Raul Albiol to score his second goal just before halftime.
Chile appeared to take complete control after the break, but despite holes in the lineup and the low stakes of a friendly, the proud Spanish squad never gave up and Navas pulled them even again with a tally in the 91st minute. EFE