and Croatia joined the European Union effective 1 July 2013. Croatia was affected by the European migrant crisis in 2015 when Hungary's closure of its borders with Serbia forced over 700,000 migrants to use Croatia as a transit country on their way to Western Europe.