Italy vs Costa Rica
Costa Rica's Gamboa and Gonzalez celebrate with their teammates at the end of their 2014 World Cup Group D soccer match against Italy at the Pernambuco arena in RecifeReuters

Group D underdogs Costa Rica progressed to the round of sixteen of the 2014 World Cup after registering a shock 1-0 victory over 2006 Champions Italy.

Bryan Ruiz's header towards the end of the first half proved enough as Italy were unable to find an equaliser and help avoid England's premature elimination from the 2014 World Cup.

Fuelled by their opening day victory against Uruguay, Costa Rica created the first chance in the 7th minute when Christian Bolanos's corner was just narrowly headed over by Celso Borges.

At the other end, Thiago Motta hada good chance to fire his side into the lead when the ball broke kindly to him outside the box. However, he could not keep his composure and his shot flew wide of the target.

At the half hour mark Italy got their biggest chance of the game when a long ball from Andrea Pirlo went over the Costa Rican defence towards Mario Balotelli, who did brilliantly to control the ball. The AC Milan striker tired to chip the ball over an onrushing Keylor Navas but his effort was wide of the target.

Moments later, Balotelli got another chance after getting a good ball from Motta. However, his well struck effort from the edge of the box was parried away by Navas.

At the 43rd minute, Costa Rica started appealing for a penalty after Joel Campbell was brought down by Giorgio Chiellini inside the box. However, the referees waved away the protests even though replays suggested that it was a penalty.

With only a minute remaining in the first half, the Central American side finally broke the deadlock through Bryan Ruiz. Junior Diaz whipped the ball towards the back post and Ruiz rose above everyone else before heading the ball in off the underside of the bar.

There was more urgency in the Azzurri's game in the second half as they began searching for an equaliser.

Matteo Darmian tested Navas with a long range effort and the latter was forced to tip the defender's shot over the crossbar in the 51st minute.

A couple of minutes Pirlo tested Navas with one of his trademark free-kicks but the Costa Rica goalkeeper again rose to the occasion as he managed to keep out the classy Italian's effort.

Costa Rica almost doubled their lead in stoppage time after Randall Brenes, taking advantage of Italy's desperate attempts to find the leveller, found himself in a very good position outside the box. However, he could not keep his cool as he curled the ball over the crossbar.

Check out the full highlights of the game below:

Italy vs Costa Rica
Italy's goalkeeper Buffon makes a save against Costa Rica during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Costa Rica's Oscar Duarte fights for the ball with Italy's Andrea Pirlo as Costa Rica's Celso Borges watches during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Costa Rica's Tejeda fights for the ball with Italy's Barzagli during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Italy's Balotelli fights for the ball with Costa Rica's Umana and Gonzalez during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Italy's Motta fights for the ball with Costa Rica's Bolanos during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Italy's Matteo Darmian and Giorgio Chiellini fights for the ball against Costa Rica's Joel Campbell during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Italy's Mario Balotelli takes a shot as Costa Rica's Keilor Navas prepares to block during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Costa Rica's Bryan Ruiz scores a goal against Italy's Gianluigi Buffon during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Costa Rica's Ruiz celebrates with teammates after scoring a goal during their 2014 World Cup Group D soccer match against Italy at the Pernambuco arena in RecifeReuters
Italy vs Costa Rica
Costa Rica's goalkeeper Keilor Navas saves a free kick attempt by Italy's Andrea Pirlo (not pictured) as Italy's Antonio Cassano and Daniele De Rossi watch during their 2014 World Cup Group D soccer match at the Pernambuco arena in RecifeReuters