Defensa y Justicia of Argentina won its first Recopa Sudamericana in surprising fashion on Wednesday after a last-minute goal and a thrilling penalty shootout against Brazil's Palmeiras.

The defending champions of the Copa Sudamericana beat the holders of the Copa Libertadores 2-1 in Brasilia, the same result the Brazilians had secured playing away the previous week.

Palmeiras opened the scoring in the 22nd minute from the spot with Raphael Veiga and eight minutes later Brian Romero equalized.

Coach Sebastian Beccacece of Argentina's Defensa y Justicia gestures during the Recopa Sudamericana final second leg soccer match against Brazil's Palmeiras at the Mane Garrincha stadium in Brasilia, Brazil, Wednesday, April 14, 2021. (Buda MendesPool via AP)

Coach Sebastian Beccacece of Argentina's Defensa y Justicia gestures during the Recopa Sudamericana final second leg soccer match against Brazil's Palmeiras at the Mane Garrincha stadium in Brasilia, Brazil, Wednesday, April 14, 2021. (Buda MendesPool via AP)

The Brazilians had the best opportunities to win until the 68th minute, when left-back Matias Viña was sent off. The Argentine stepped up the pressure and got their last-minute equalizer with Marcelo Benitez in added time.

Defensa y Justicia also survived a penalty awarded to Palmeiras in the first half of extra time, which was taken by defender Gustavo Gomes and saved by goalkeeper Ezequiel Unsain. The Argentine also managed to beat Brazil’s national team goalkeeper Weverton in all five shots from the spot at the end. Luis Adriano was the only one who failed at the shootout, stopped by a post.

The Recopa Sudamericana is Defensa y Justicia's second international trophy. The club has never won a major title in Argentinian soccer.

Braian Romero of Argentina's Defensa y Justicia celebrates after scoring his side's opening goal during the Recopa Sudamericana final second leg soccer match at the Mane Garrincha stadium in Brasilia, Brazil, Wednesday, April 14, 2021. (Buda MendesPool via AP)

Braian Romero of Argentina's Defensa y Justicia celebrates after scoring his side's opening goal during the Recopa Sudamericana final second leg soccer match at the Mane Garrincha stadium in Brasilia, Brazil, Wednesday, April 14, 2021. (Buda MendesPool via AP)

More AP soccer: https://apnews.com/hub/soccer and https://twitter.com/AP_Sports