final stage after they were eliminated by Guatemala 2–0 on aggregate (1–0, 1–0). The team was managed by Hector D'Angelo. El Salvador participated at the Pan American Games for the first time in 1975 in Mexico. They began with a 4–1 win against Nicaragua on 14 October, with a hat-trick from "Pajarito" Huezo, on the début of Francisco "Paco" Jovel. They then lost 2–0 to Brazil and drew 0–0 against Costa Rica, with "Pelé" Zapata missing a penalty. They finished in third place in Group D and failed to advance to the next round. In 1977 CONCACAF Championship qualification, El Salvador finished second in their group, behind Guatemala and ahead of Costa Rica and Panama, to qualify for the final tournament, hosted in Mexico. They finished in third place, behind Haiti and Mexico, with the hosts winning the tournament. El Salvador participated in the 1978 Central American and Caribbean Games, hosted in Colombia. Cuba were crowned champions for the fourth time and El Salvador finished ninth. 1980s El Salvador played Costa Rica, Guatemala, Honduras and Panama in 1981 CONCACAF Championship qualification, in a home-and-away round-robin group with the top two teams advancing to the final tournament. El Salvador and Honduras finished with equal points at the top of the group, with Honduras winning the group on goal difference. Once again the finals doubled up as World Cup qualification, this time for the 1982 World Cup, with the top two of the six teams qualifying. Going into the final matches, El Salvador had four points and were in third place on goal difference, with Mexico and Canada both also having four points, behind Honduras with seven. On 19 November 1981, El Salvador beat Haiti 1–0, with a penalty by Norberto Huezo. On 21 November, Canada drew 2–2 with Cuba and were eliminated. In the decisive match the following day, Honduras and Mexico drew 0–0, meaning El Salvador qualified for the World Cup for the second time. El Salvador took a 20-man squad to Spain, two players short of the maximum number allowed, as a controversial cost–saving measure. They were coached by "Pipo" Rodríguez. In their first match on 15 June in Elche, they were defeated 10–1 by Hungary, a World Cup Finals record margin of victory. A silver lining was that Luis Ramírez Zapata scored the country's first World Cup goal during the game, albeit when the Salvadorans were already 5–0