The team enjoyed a period of success in the early and mid-80s in which it qualified for two World Cups, most notably in the 1982 tournament in which it topped Group 5 above Spain, Yugoslavia and Honduras to proceed to the second round. After a poor run of form in the late 1990s and first few years of the 21st century, and a corresponding slump in the FIFA World Rankings, there was a subsequent revival in the team's fortunes with home wins over Spain and England. The team came close to qualifying for the 2008 European Championships, and took part in the Nations Cup competition in 2011 along with Wales, Scotland and the Republic of Ireland. Northern Ireland qualified for UEFA Euro 2016, progressing through the group stage and reaching the round of 16. In 2018, the national team began their UEFA Nations League debut, in league B.