BELO HORIZONTE, Brazil (AP) Defying all the doubters, Costa Rica came through perhaps the toughest group of the World Cup unbeaten and on top.
Costa Rica followed up its wins over Uruguay and Italy by holding England to a dour 0-0 draw on Tuesday, enough to finish first in Group D. Quite an achievement for a team that was seen as the rank outsider in the first ever World Cup group that contained three former champions.
''It wasn't the death group after all - at least not for us,'' Costa Rica coach Jorge Luis Pinto said. He dedicated the qualification to ''those who believed in us and those who didn't.''
''People started believing after the game against Italy,'' he added.
Uruguay also advanced from the group after beating Italy 1-0.
Costa Rica only needed a draw to top Group D and played that way, setting up in a defensive 5-3-2 formation against England.
The result gives Costa Rica its best World Cup performance. While Los Ticos reached the knockout stages in 1990, they finished second in a weaker group. Costa Rica will now play the runner-up in Group C in the second round.
''We will have to keep fighting,'' Pinto said. ''Whatever happens we are willing to fight.''
England lost its first two matches to Italy and Uruguay and was already eliminated. England goes home from Brazil without a win after striker Daniel Sturridge missed a number of chances Tuesday.
But coach Roy Hodgson thought his team showed spirit against the Costa Ricans, trying to break down a stubborn defense.
''We showed today what a good team we can be,'' England coach Roy Hodgson said. ''Apart from the first 10 minutes, I thought we dominated.''
One of Sturridge's best opportunities came in the 65th after a nice one-two with midfielder Jack Wilshere. But the forward's curling shot from the right just missed squeezing inside the far post.
Costa Rica had started the match brightly, passing the ball around midfield with ease and making England chase them around. Forward Joel Campbell had an early chance, but his shot from inside the area deflected off Gary Cahill and went just wide in the second minute.
Costa Rica's best chance came in the 23rd minute when Celso Borges' curling free kick was tipped onto the crossbar and out for a corner by England goalkeeper Ben Foster.
But that was about it in terms of attacking for the Costa Ricans and they were happy to absorb England pressure, especially in the second half.
Pinto defended his team defensive tactics, saying Costa Rica was also out to attack.
''Some people said we would only defend,'' he said. ''No, that's not true. You have seen it. We have been able to attack as well. That is why we are very proud,''
With nothing to play for, Hodgson made nine changes to the England team, fielding a slew of younger talent, including Adam Lallana, Ross Barkley and Luke Shaw.
England's backup players looked disjointed in the first half, giving the ball away easily and finding it difficult to break through Costa Rica's setup.
Wilshere made a fine run down the left in the 12th, setting up Sturridge just outside the area, but the forward's curling shot just missed wide.
Wayne Rooney came on as a substitute late in the second half and made an instant impact for England. He found space just outside Costa Rica's area in the 80th, but the backpedalling Costa Rica goalkeeper Keylor Navas was able to tip it over the bar and out for a corner.
While England showed improvement in the second half, the team just couldn't find a way a through Costa Rica's rearguard.
A hardcore group of about 150 England fans stayed in the stands long after the final whistle in an otherwise empty Mineirao Stadium, chanting loudly and jumping up and down.
About 25 armed riot police with shields and batons formed a line behind stewards who were urging them to leave. Singing ''England Till We Die,'' the fans eventually left the stands peacefully.
Here's how Costa Rica finished off its Group C triumph:
Live Blog World Cup Group D: Italy vs. Uruguay/Costa Rica vs. England
GALLERY: Rare Photos of Wayne Rooney
Rare Photos of Wayne Rooney
Sir Alex Ferguson and Wayne Rooney
Wayne Rooney with Manchester United manager Sir Alex Ferguson pose together the day after the English striker signed with the club on Sept. 1, 2004.
Wayne Rooney exits The Ivy Restaurant in London on March 12, 2005.
Prince William and Wayne Rooney
Rooney chats with Prince William before England's friendly against Jamaica on June 1, 2006.
Rooney reads from his biography, Wayne Rooney: My Story So Far, at The Lowry Hotel on Aug. 10, 2006 in Manchester, England.
Sean "Diddy" Combs and Wayne Rooney
Combs speaks with Rooney prior to an appearance at the MTV European Music Awards on Oct. 31, 2006 in Copenhagen, Denmark.
Jimmy Fallon, Paul Pierce, Wayne Rooney and Coleen McLoughlin
Paul Pierce falls on the floor near Jimmy Fallon, Wayne Rooney and his girlfriend Coleen McLoughlin during the Boston Celtics game against the New York Knicks at Madison Square Garden on Dec. 11, 2006 in New York City.
Wayne Rooney, Ricky Hatton and Marco Antonio Barrera
Rooney poses with Ricky Hatton and Marco Antonio Barrera after Hatton's victory over Jose Luis Castillo on June 23, 2007 in Las Vegas.
Chris Eagles, Patrice Evra and Wayne Rooney
Eagles, Evra and Rooney of Manchester United attend an event to promote the new Nike Laser football boot on July 26, 2007 in Guangzhuo, China.
Rooney poses with a tiger cub during a visit to Chimelong Safari Park on July 26, 2007 in Guangzhuo, China.
Coleen McLoughlin and Wayne Rooney
Rooney and fiancee Coleen eat at a restaurant in the main square of Portofino on June 9, 2008 during a trip to Italy.
Diego Maradona and Wayne Rooney
Rooney poses with Argentine national manager Diego Maradona at Carrington Training Ground on Nov. 7, 2008 in Manchester, England.
Rooney stands in front of a Toyota Prius as he won the MVP award and the hybrid car at the FIFA Club World Cup Soccer tournament in Yokohama near Tokyo on Dec. 21, 2008.
Wayne Rooney and Usain Bolt
Rooney meets Olympic Champion Usain Bolt ahead of a First Team Training Session at Carrington Training Ground on May 15, 2009 in Manchester, England.
David Beckham and Wayne Rooney
Beckham Rooney smile as they pose for the cameras with scarves to show their support for the England 2018 - 2022 World Cup Bid at Wembley Stadium on May 18, 2009 in London.
Michael Owen and Wayne Rooney
Owen and Rooney of Manchester United pose with Isaac Eaton, Archie Eaton, Jacob Cohen and Szymon Cohen at the Royal Manchester Children's Hospital as part of the club's annual hospital visits on Dec. 23, 2009 in Manchester, England.
Wayne Rooney and Manchester United teammates
The Manchester United squad celebrates in their dressing room after the Carling Cup Semi-Final Second Leg match between Manchester United and Manchester City at Old Trafford on Jan. 27, 2010 in Manchester, England.
Wayne Rooney, Rio Ferdinand and Ashley Cole
England Captain Rio Ferdinand was joined by Wayne Rooney and Ashley Cole on June 2, 2010 at the Nike "No More Talk" event in London, as they said their farewells to Football fans before departing for South Africa.
Rooney plays table tennis with local school children on behalf of Sports Relief at Carrington Training Ground on March 13, 2012 in Manchester, England.
Rooney's surgery scar, following a recent injury, is seen on his right thigh as he takes part in an England team training session during the official launch of The Football Association's National Football Centre at St. George's Park on Oct. 9, 2012 in Burton, England.
Wayne Rooney and Gerard Butler
Rooney and Gerard Butler attend the Gentlemen's Singles Final match between Andy Murray of Great Britain and Novak Djokovic of Serbia on day thirteen of the Wimbledon Lawn Tennis Championships at the All England Lawn Tennis and Croquet Club on July 7, 2013 in London.
Wayne Rooney and son Kai
Wayne kisses his son Kai before a training session at the England pre-World Cup Training Camp at the Vale Do Lobo Resort on May 21, 2014 in Vale Do Lobo, Algarve, Portugal.