RECIFE, BRAZIL - JUNE 29: Oscar Duarte of Costa Rica is shown a red card and sent off after his second bookable offense by referee Benjamin Williams during the 2014 FIFA World Cup Brazil Round of 16 match between Costa Rica and Greece at Arena Pernambuco on June 29, 2014 in Recife, Brazil. (Photo by Ian Walton/Getty Images) Ian Walton Getty Images

Costa Rica's goalkeeper Keylor Navas reacts after saving a penalty during the penalty shoot out at the end of extra time during a Round of 16 football match between Costa Rica and Greece at Pernambuco Arena in Recife during the 2014 FIFA World Cup on June 29, 2014. AFP PHOTO / PEDRO UGARTE (Photo credit should read PEDRO UGARTE/AFP/Getty Images) PEDRO UGARTE AFP/Getty Images

Costa Rica's players celebrate at the end of the round of 16 football match between Costa Rica and Greece at Pernambuco Arena in Recife during the 2014 FIFA World Cup on June 29, 2014. AFP PHOTO / ADRIAN DENNIS (Photo credit should read ADRIAN DENNIS/AFP/Getty Images) ADRIAN DENNIS AFP/Getty Images

RECIFE, BRAZIL - JUNE 29: Lazaros Christodoulopoulos and Konstantinos Katsouranis of Greece look dejected after being defeated by Costa Rica in a penalty shootout during the 2014 FIFA World Cup Brazil Round of 16 match between Costa Rica and Greece at Arena Pernambuco on June 29, 2014 in Recife, Brazil. (Photo by Renato Spencer/Getty Images) Renato Spencer Getty Images

Like this topic? You may also like these photo galleries:

Costa Rica got past Greece in penalty kicks to advance to the quarterfinals, after hanging on with 10 men for much of the second half and all of extra time.

Los Ticos took the lead in the 52nd minute when Bryan Ruiz placed a low shot in the corner, but then went down a man when Oscar Durate earned his second yellow card in the 66th minute and was dismissed. Greece equalized in this 90th minute with a nice goal by Sokratis, and the teams played even until penalty kicks.

Everyone made their kick until Greece's fourth take, when Keylor Navas made a ridiculous save on Greece's Fanis Gekas to give Costa Rica an advantage in the shootout.

On the very next kick, Costa Rica's Michael Umaña roofed the ball emphatically to give Costa Rica a 5-3 win in the shootout and a trip to the quarterfinals, where the team will face the Netherlands.