BERLIN (AP) — Austria announced Wednesday that it will start checks at its border crossings with Slovakia, following a similar decision by the Czech Republic, in a move that’s aimed at keeping migrants from entering.

The measure becomes effective at midnight Wednesday, the Austrian government said.

The Austrian interior ministry said the border controls are a response to the Czech Republic’s announcement, a day earlier, of controls on its border with Slovakia starting Thursday, and aim to ensure that human traffickers do not use Austria as an alternative.

“We have to react before the smugglers react,” Austrian Interior Minister Gerhard Karner told public broadcaster ORF.

Austria, the Czech Republic and Slovakia all belong to the European Union’s visa-free Schengen zone where people can normally cross borders without getting checked. However, temporary border controls have repeatedly been reinstated in the past, whether to prevent the spread of the coronavirus in the early days of the pandemic or to stop migrants from entering illegally.

Austrian Chancellor Karl Nehammer told reporters later on Wednesday that he would meet Hungarian President Viktor Orban and Serbian President Aleksandar Vucic next week to discuss the issue of migration.

“The states are not doing this for their own sake, but to fight organized crime and smuggling and to reduce the pressure from the borders,” Nehammer said in Vienna.

Austria introduced controls along its borders with Hungary and Slovenia in 2015, when more than 1 million migrants from war-torn countries like Syria, Iraq and Afghanistan entered the European Union. The Alpine country has repeatedly extended those controls, which remain in place.

Back then, only about 8,500 migrants were detained in the Czech Republic, while this year so far 12,000 migrants have been detained, the Czech interior ministry said, adding that most of them were Syrians. A total of 125 human smugglers have been arrested in the Czech Republic this year, a significant increase compared with the previous years.

Most migrants don’t want to stay in the Czech Republic or Slovakia, but travel through them to reach wealthier places like Germany, Sweden or Austria.

The Austrian border controls will initially be enforced at 11 crossing to Slovakia for 10 days.

___

Karel Janicek contributed this report from Prague.

___

Follow all AP stories on migration at https://apnews.com/hub/migration