Quito (Equador), Oct 11: Barcelona forward Lionel Messi has bagged a hat-trick and with it Argentina has secured a direct berth at next year's World Cup in Russia with a 3-1 victory over Ecuador. In a dramatic final round on Tuesday in the South American zone qualifiers, Argentina, Brazil, Venezuela, Uruguay and Colombia booked their tickets to the 2018 FIFA World Cup, Xinhua news agency reported. Needing the win to avoid missing the World Cup for the first time since 1970, Argentina got off to a bad start against Ecuador who were already out of the contention. Equador took the lead in the first minute with Romario Ibarra firing from close range after combining smartly with Roberto Ordonez. Argentina took just 12 minutes to equalize with Messi's first-time strike after Angel Di Maria's pull-back. The five-time Ballon d'Or winner gave the visitors the lead eight minutes later when he snatched possession from Ecuador's defence before thumping a shot past Maximo Banguera. Messi pocketed his third goal just after the hour mark, chipping into the top left corner from the edge of the box while being dragged to the ground. The result broke a run of four matches without a victory for Argentina in the Conmebol qualifiers. Before Tuesday, their last win in the qualifying tournament was against Chile on March 23 with a 1-0 margin. "It's an enormous feeling of happiness," an elated Albiceleste coach Jorge Sampaoli told TyC Sports moments after the final whistle. Brazil earlier eliminated Chile with a 3-0 home victory, Venezuela wrecked Paraguay's hopes with a 1-0 win in Asuncion, Uruguay won 4-2 at home to Bolivia and Colombia clinched an automatic place by drawing 1-1 with Peru. By finishing fifth in the 10-team Conmebol group, Peru earned the right to meet Oceania winners New Zealand in a two-legged playoff.