One bright spot in the index was long-suffering Sri Lanka: Sri Lankans in 2015 elected a reformist as their new prime minister, who has kicked off his tenure with measures to help soothe the country’s war wounds and speed ethnic reconciliation, making it this year’s most improved state.

In West Africa, the Boko Haram insurgency has taken its toll across a wide swath of countries. Chad, Cameroon, and Niger last year saw their share of violence, and also of refugees fleeing the violence. Niger and Cameroon each hosted more than 100,000 people displaced by the Boko Haram insurgency by the end of the year — a reminder that, while news about the migration crisis in Europe makes headlines, the countries that bear most of the burden for hosting those displaced by instability are often the ones next door.

Hungary and the other central European countries that line the so-called Balkan route from the Middle East to Europe saw a xenophobic backlash, often stoked by their own politicians, raising growing concerns about the state of human rights in these countries. The migrant crisis also played a role in the United Kingdom’s referendum on whether to leave the European Union. Those advocating that Britain go it alone often cited concerns about migration and the need for Britain to maintain control of its own borders. On June 23, in a stunning turn of events , the country voted to leave the European Union, sending global markets into a nosedive and leading to the resignation of Prime Minister David Cameron.

And in terms of the countries that became more fragile this year, there were perhaps few surprises. The Syrian civil war has been roiling the Middle East since 2011. But in 2015, spillover from the chaos finally hit Europe in the form of more than 1 million asylum-seekers who flooded into the continent. Their arrival sent Europe into a panic — and some previously stable countries were sent sliding up the ranks of the index.

For 12 years, the Fragile States Index (FSI), created by the Fund for Peace and published by Foreign Policy, has taken stock of the year's events, using 12 social, economic, and political indicators to analyze how wars, peace accords, environmental calamities, and political movements have pushed countries toward stability or closer to the brink of collapse. The index then ranks the countries accordingly, from most fragile to least.

This is particularly true when those who are caught in the fray of violence will stop at little to save themselves and their families. Turmoil from Syria to Nigeria spiraled outward last year, leading to unexpected consequences sometimes thousands of miles away from their point of origin.

Grayed nations are not ranked by the Fund for Peace. No FSI data was available for the following countries until 2007: Antigua and Barbuda, Bahrain, Barbados, Beliza, Brunei, Cape Verde, Comoros, Republic of Congo, Djibouti, Fiji, Grenada, Guyana, Iceland, Lesotho, Luxembourg, Madagascar, Maldives, Malta, Micronesia, Montenegro, Qatar, Samoa, Sao Tome, Seychelles, Solomon Islands, Suriname, Swaziland, East Timor, Trinidad, United Arab Emirates. The nation of South Sudan was not formed until 2011.

A recent deal between the European Union and Turkey that would exchange EU financial assistance for Turkish agreement to take more refugees seems to have done little to quell Europe’s fears — or prevent some refugees from taking more desperate measures. With the land route to northern Europe closed, migrants have tried to cross the Mediterranean Sea in rickety smugglers’ boats traveling from Libya to Italy. Thousands have drowned over the past year.

Macedonia, Croatia, and Slovenia announced in March that refugees would no longer be able to traverse their territory to northern Europe. Hungary declared a state of emergency to combat the influx of migrants, sending troops to its border with the other Balkan nations and constructing a razor-wire fence to prevent outsiders from entering.

In 2015, the world learned that the Syrian war could not be contained within the country’s borders. A wave of refugees fleeing their war-wracked nation reached Europe en masse, igniting an anti-immigrant backlash that could threaten the political order in the European Union. While Sweden and Germany accepted hundreds of thousands of Syrian refugees in the past year, the Balkans and Central Europe have seen a resurgence of right-wing forces eager to play on nationalist fears and close the borders of their nations.

A 13-year-old Syrian who lost his left leg during while fighting in Syria uses a frame to support himself as he learns to walk on a prosthetic leg on March 24, 2015, in Reyhanli, Turkey. Photo credit: CARL COURT/Getty Images

Chinese artist Ai Weiwei holds a sheet of plastic over a Syrian pianist as she plays for the first time in weeks at the Idomeni refugee camp on March 12, 2016. Photo credit: MATT CARDY/Getty Images

Migrants and refugees mainly from Afghanistan and Syria line up at the Greek port of Mytilene to board a ferry to Athens on March 8, 2016. Photo credit: ALEXANDER KOERNER/Getty Images

Syrians run away as Turkish soldiers blast them with water cannons at the border crossing near the Syrian town of Tell Abyad on June 13, 2015. Photo credit: BULENT KILIC/AFP/Getty Images

A Syrian man peers through the window of an abandoned train cabin where he sleeps in Idomeni, a village on the border between Greece and Macedonia, on May 5, 2016. Photo credit: GILI YAARI/NurPhoto/Getty Images

The countries on the front lines of the refugee crisis are also under increasing pressure. Turkey is now hosting the largest refugee population in the world, with over 2.5 million refugees at the end of 2015. This has come at a price for Turkey’s domestic stability: Between 2011 and 2015, Turkey’s FSI indicator for refugee pressures rose from 6 to 8.8. Lebanon and Jordan have also struggled to integrate massive refugee communities, which make up one-quarter and one-tenth of their populations, respectively. The Syrian refugees there are overwhelmingly poor, putting tremendous stress on the economies of both countries. Jordan’s overall score rose from 76.9 to 78 over the past year, while Lebanon’s increased from 88.1 to 89.6, with the decrease in stability driven in both cases by escalating refugee pressures. The refugee crisis has also made the countries dependent on international aid, which is both unsustainable and encouraging the countries to avoid the decisions that will allow them to integrate the refugees into the national fabric.

UNITED KINGDOM: AN UNCERTAIN POST-BREXIT FUTURE Britons’ longtime ambivalence about their country’s relationship with Europe came to a head this summer, when, in a referendum vote of 52 percent to 48 percent, they decided to leave a four-decade-long partnership. The Brexit decision comes at a time when many feel that the European project may be on the brink of collapse. While the countries that make up the European Union are, for the most part, hardly fragile, the union itself — faced with crises ranging from a stagnating economy to a sudden influx of refugees — seems to be at a tipping point. Now, many are worried that Britain’s choice to leave could push the union over the edge. The United Kingdom held steady in the Fragile States Index rankings this year, and even improved slightly relative to other states, falling one place from 161 in last year’s rankings to 162 in this year’s. But it hasn’t been immune from the troubles afflicting the continent. The U.K. has seen its scores jump, in particular, in the area of Group Grievances: In 2011, it scored a 4.4; for the 2016 FSI, that number has climbed to 5.9. That’s due in part to what British Muslims say is the country’s growing Islamophobia. According to a survey conducted by the Islamic Human Rights Commission and released in November 2015, the number of British Muslims who said they either experienced Islamophobia themselves or directed at someone else rose from 50 percent to 82 percent between 2010 and 2014. The FSI also looks only at events from 2015, meaning it doesn’t account for the fallout from the Brexit vote, which sent the FTSE 100 stock index and the pound sterling plunging, and has introduced tremendous new uncertainties in the country, including about whether the United Kingdom will even stay united. Britain’s economy has struggled to find its footing since the 2008 global financial crisis, and a vote to leave the EU may, according to some economists, send it, along with the rest of the world, into a new recession. In 2009, the U.K.’s FSI score on economy was 1.7; this year it reached 3.8. Slow economic growth has contributed to tensions with the EU: Many of those who advocated for Brexit argued that, with Europe’s economy also sputtering, Britain had tied itself to a sinking ship. So far, however, the lifeboat hardly looks more promising.

STOKING THE FIRES OF XENOPHOBIA IN CENTRAL EUROPE In the summer of 2015, Hungary began to draw sharp criticism from the European Union for the anti-immigrant rhetoric of Prime Minister Viktor Orban, the most vocal opponent among the leaders of central Europe of those seeking asylum. Orban’s weaponization of that anti-migrant animus has been swift and severe. In 2015, the country completed construction on a razor-wire fence running the length of its borders with Serbia and Croatia. Hungary’s FSI score worsened by 3.6 points this year, the biggest shift toward becoming “more fragile” of all the nations surveyed. This past year, the ongoing migrant crisis has all but consumed Hungary and its neighbors in central Europe — the Czech Republic, Slovakia, and Poland, collectively known as the “Visegrad group.” Their joint opposition to German Chancellor Angela Merkel’s refugee policies and resistance to taking in refugees from Syria, North Africa, and elsewhere, has raised questions in the EU and among human rights groups about democratic transparency and the abuse of civil liberties. But beyond the migrant crisis, Hungary’s problems in these areas are likely to worsen. In January, the Economist reported on Orban’s intention to institute anti-terror laws that would only continue to curb civil liberties. His Fidesz party has already limited the powers of the constitutional court and loaded it with loyalists, ostensibly to ease the passage of its own agenda. Groups like the Vienna-based, 57-nation Organization for Security and Cooperation in Europe, the world’s largest regional security cooperation organization, have also accused the government’s Fidesz-controlled media regulatory agency of stifling liberal voices and steering public advertising money to pro-Fidesz media outlets. The rest of the Visegrad appears to be following Orban’s lead. Given the Czech Republic’s long-standing discrimination toward the Roma, along with President Milos Zeman’s public embrace of the political group Bloc Against Islam, it’s no surprise that the country’s FSI score worsened by 3.4 this year. Neighboring Slovakia, led by Prime Minister Robert Fico — who has declared that Muslims are “impossible to integrate” in Europe — has gone to court to fight the EU’s plan to institute a mandatory mechanism to relocate asylum-seekers. Its overall score worsened by 2.9 in 2016. And Poland, where ominous authoritarian winds are swirling, has opposed efforts to expand aid and access to refugees. Its overall FSI score worsened by 0.9 in 2016, particularly where group grievance — a measure of the tensions and violence among groups within one state — human rights, and external intervention were concerned. One thing appears certain: In defiance of the EU, the Visegrad will continue to consolidate around a less-welcoming, intransigent position when it comes to migrants.

SRI LANKA: MOVING AWAY FROM THE SHADOWS OF WAR For Sri Lankans, 2015 began with a presidential election and hence a choice: to re-elect Mahinda Rajapaksa, the mercurial and nepotistic leader who put a bloody end to the country’s 26-year civil war in 2009, or to vote for Maithripala Sirisena, the self-effacing health minister, who — as J.S. Tissainayagam described in a January 2015 article — promised to “transform Sri Lanka from a near autocracy into a democracy.” It’s likely that Sirisena’s surprise victory — just several months earlier, he had been a loyal member of Rajapaksa’s government — and his modest but important steps toward healing the nation’s war wounds are in large part why the island nation is this year’s most improved country on the Fragile States 2016 Index, moving nine spots in the rankings, from 34 to 43 in 2016. Sri Lanka’s success this year is largely due to Sirisena’s victory, coupled with a reduction in natural disasters (devastating floods regularly hit the country; in 2011, incessant rains made homeless 200,000 people, or roughly 1 percent of Sri Lanka’s population). Since taking office, Sirisena has pushed for a new constitution that limits the power of the president’s office and put his country on the path to ethnic reconciliation. He has more successfully integrated the minority Tamils — the losers of the civil war — into the government and worked to create a special court to prosecute human rights abuses committed during the war. In a nutshell, Sirisena’s policies channel the Sri Lankan people’s desire for equality and integration; and his success in meeting the electorate’s needs is reflected in the country’s legitimacy score, which improved by 0.6 points from last year. Despite its notable shift in this year’s rankings, Sri Lanka still falls in the High Warning category — and its score remains a worrying 87.7. And while the country has improved on most indicators over the past five years, the outlook for the Group Grievance and Human Rights categories, with scores of 9.2 and 8.5 respectively, remains especially concerning. And while Sirisena has led his country on a path toward a more balanced form of government, the Fund views his administration’s tendency to reject outside support as a cause for concern. Sirisena, for example, has refused to allow international oversight for his human rights court. In response to the U.N.’s call for an investigation by foreign judges into abuses committed during the war, Sirisena responded that he would “never agree to international involvement in this matter.” Still Sirisena and his people deserve credit for the country’s improvements over 2015. Though as Tissainayagam observed after Sirisena’s election, his country still faced many challenges — ethnic unity, corruption, and government reform, among others. For the time being, he wrote, Sri Lanka still needs to “hold the champagne.”