Costa Rica became the last team to qualify for the 2022 World Cup in Qatar with victory over New Zealand.
In the intercontinental play-off, Costa Rica took a third-minute lead when ex-Arsenal player Joel Campbell shot low into the bottom corner.
New Zealand ended the match with 10 men as substitute Kosta Barbarouses was sent off for fouling Francisco Calvo.
The World Cup begins on 21 November with Costa Rica playing 2010 champions Spain in their opener on 23 November.
Ranked 31st in the world, Luis Fernando Suarez's side go into Group E, which also contains four-time winners Germany and a Japan side who have advanced beyond the group phase in three of the past five tournaments.
Costa Rica have now qualified for the World Cup six times and this will be their third successive appearance.
Their best performance came in 2014 when they reached the quarter-finals, finishing top of a group that included Uruguay, Italy and England, before beating Greece on penalties in the last 16 and losing in a shootout to the Netherlands.
After finishing fourth in Concacaf qualifying, Costa Rica faced Oceania winners New Zealand with their tie taking place at the Ahmad bin Ali Stadium in Al Rayyan, Qatar.
New Zealand, ranked 101st in the world, had a good spell just after conceding the goal, but Alex Greive, Matthew Garbett and Newcastle striker Chris Wood all failed to convert chances from inside the penalty area.
Wood thought he had scored late in the first half when he shot past Paris St-Germain goalkeeper Keylor Navas.
However, the referee ruled out the goal after checking the incident on a pitchside monitor following a video assistant referee check - and judged Garbett had fouled Oscar Duarte before crossing for Wood to finish.
A VAR check also led to Barbarouses' dismissal as the referee changed his original decision from a yellow card to red after seeing the challenge had caught Calvo on the ankle. The 10 men of New Zealand fought until the end, but could not find an equaliser.
|Fifa World Cup Qatar 2022 - final groups|
|A - Qatar||Ecuador||Senegal||Netherlands|
|B - England||Iran||USA||Wales|
|C - Argentina||Saudi Arabia||Mexico||Poland|
|D - France||Australia||Denmark||Tunisia|
|E - Spain||Costa Rica||Germany||Japan|
|F - Belgium||Canada||Morocco||Croatia|
|G - Brazil||Serbia||Switzerland||Cameroon|
|H - Portugal||Ghana||Uruguay||South Korea|
- 4FullerSubstituted forMartínezat 45'minutes
- 13TorresSubstituted forWastonat 45'minutes
- 5BorgesSubstituted forChacónat 79'minutes
- 9BennetteSubstituted forRuízat 45'minutesBooked at 90mins
- 12CampbellSubstituted forVenegasat 90+3'minutes
- 7ContrerasBooked at 90mins
- 2ReidBooked at 70minsSubstituted forJustat 72'minutes
- 20KirwanSubstituted forPayneat 79'minutes
- 15LewisSubstituted forStamenicat 80'minutes
- 19GarbettSubstituted forWaineat 60'minutes
- 11GreiveSubstituted forBarbarousesat 60'minutesBooked at 69mins
- 3de Vries
- Mohammed Salem Yousef Abdulla Alali
- Shots on Target