All bow down to Lionel Messi.

Argentina's forward and captain scored in stoppage time to give the team a 1-0 win over Iran and move to the second round of the World Cup.

Also, his goal is the stuff of legend.

GIF: Bend it like Messi - see the reaction of the Iranian def... on Twitpic(GIF via @cjzero)

Iran had defended solidly throughout the game and also took the match to Argentina in the second half, creating several chances to win the Group F match and cause a tournament sensation. But Iran was punished for those missed chances when Messi picked up the ball about 20 yards (meters) out and curled a shot into the left hand corner.

With files from the Canadian Press

Loading Slideshow...
  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina shoots and scores his team's first goal during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ronald Martinez/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi strikes the ball to score a goal during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Reza Ghoochannejhad of Iran reacts after a missed chance during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi celebrates scoring during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi (2nd L) celebrates scoring with his teammates during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Alireza Jahanbakhsh (L) reacts after the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's midfielder Javier Mascherano (L) and Argentina's midfielder Angel Di Maria vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's midfielder Angel Di Maria vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Sergio Romero of Argentina acknowledges the fans after his team's 1-0 victory in the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina celebrates with teammates after scoring his team's first goal during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ian Walton/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI-FANS

    Argentina fans celebrate during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's midfielder Javier Mascherano vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Ashkan Dejagah (L) and Argentina's defender Pablo Zabaleta vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi celebrates scoring during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: A dejected Amirhossein Sadeghi of Iran sits on the pitch after the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Paul Gilham/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi (C) strikes the ball to score a goal during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina celebrates scoring his team's first goal as Reza Haghighi of Iran looks on during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ian Walton/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Sergio Romero of Argentina shakes hands with Reza Ghoochannejhad of Iran after Argentina defeated Iran 1-0 in the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Reza Ghoochannejhad of Iran and Federico Fernandez of Argentina compete for the ball during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi (R) celebrates scoring with his teammates during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Marcos Rojo of Argentina challenges Reza Ghoochannejhad of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: A general view of play during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ronald Martinez/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Reza Ghoochannejhad of Iran controls the ball against Javier Mascherano of Argentina during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Rodrigo Palacio of Argentina controls the ball during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ronald Martinez/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Marcos Rojo of Argentina challenges Reza Ghoochannejhad of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina controls the ball during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Paul Gilham/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's midfielder Fernando Gago (L) and Iran's defender Pejman Montazeri vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi (C) reacts during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's defender Federico Fernandez vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's goalkeeper Alireza Haqiqi (L) saves the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad controls the ball during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's defender Federico Fernandez vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward Rodrigo Palacio vies for the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (front) and Iran's forward Reza Ghoochannejhad vie for the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Marcos Rojo of Argentina challenges Reza Ghoochannejhad of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's defender Federico Fernandez vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi dribbles the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's goalkeeper Alireza Haqiqi (L) watches the ball go into the net as Argentina scores during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's goalkeeper Alireza Haqiqi (L) falls to the ground after failing to save the ball as Argentina scores during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / JUAN MABROMATA (Photo credit should read JUAN MABROMATA/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina scores his team's first goal past Alireza Haghighi of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ronald Martinez/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi celebrates scoring during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Marcos Rojo of Argentina challenges Reza Ghoochannejhad of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's forward and captain Lionel Messi (R) shoots past Iran's forward Reza Ghoochannejhad to score during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (front) and Argentina's midfielder Javier Mascherano vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (L) and Argentina's defender Ezequiel Garay vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Argentina's defender Ezequiel Garay (L) and Iran's forward Reza Ghoochannejhad vie for the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (R) and Argentina's midfielder Javier Mascherano vie during the Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / BEHROUZ MEHRI (Photo credit should read BEHROUZ MEHRI/AFP/Getty Images)

  • FBL-WC-2014-MATCH27-ARG-IRI

    Iran's forward Reza Ghoochannejhad (back) and Argentina's midfielder Javier Mascherano vie for the ball during a Group F football match between Argentina and Iran at the Mineirao Stadium in Belo Horizonte during the 2014 FIFA World Cup in Brazil on June 21, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Lionel Messi of Argentina dribbles past Ehsan Haji Safi of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Ronald Martinez/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Pablo Zabaleta of Argentina challenges Masoud Shojaei of Iran during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Jeff Gross/Getty Images)

  • Argentina v Iran: Group F - 2014 FIFA World Cup Brazil

    BELO HORIZONTE, BRAZIL - JUNE 21: Ashkan Dejagah of Iran reacts after a missed chance during the 2014 FIFA World Cup Brazil Group F match between Argentina and Iran at Estadio Mineirao on June 21, 2014 in Belo Horizonte, Brazil. (Photo by Quinn Rooney/Getty Images)