The European Union has said it will examine whether Bosnia has what it takes to become a member as the bloc continues with plans to expand just months after Britain decided to leave.
EU nations ordered the European Commission to establish whether Bosnia has earned candidate status, a process that could take a year.
A senior Slovak foreign ministry official, Ivan Korcok, said: "This is a good day for Bosnia, but for us as well. We are showing that the enlargement strategy and approach to the aspiring countries works".
The commission will now send a questionnaire to Bosnia seeking thousands of answers about its suitability to join.
It will assess Bosnia's economy, the state of democracy in the country, its adherence to the rule of law and human rights, and its ability to respect the obligations of membership.
"It is truly a historic moment" for Bosnia, Prime Minister Denis Zvizdic said, adding it was "particularly good news for the youth".
Bosnia has a brain drain problem as more than half of its young people dream of a better life in EU countries. To stop them from leaving, Bosnia's leaders have been working hard in the past 14 months on reforms that would create jobs and improve the standard of living.
"It is clear that these reforms are starting to show results," the EU envoy to Bosnia, Lars-Gunnar Wigemark, said. "We have seen the reduction of the level of unemployment and an increased growth," he said.