Costa Rica kept its World Cup hopes alive with a 2-1 victory over El Salvador in San Salvador on Sunday.

The win lifted the Central Americans (22 points) with a 6-3-4 record.

The first two goals of the game were scored about a minute apart.

The Ticos grabbed the lead in the 30th minute when Anthony Contreras scored off a close-range bicycle kick after the El Salvadoran defense failed to clear the ball out of the box.

Barely a minute later, the hosts were celebrating a goal themselves. Goalkeeper Keylor Navas blocked a shot by Gil. The ball sailed up in the air and found its way into the net while a defender tried in vain to clear it.

Costa Rica grabbed the lead a minute into first-half stoppage time as Joel Campbell buried a right-wing feed from six yards.