Hungary plans to deploy the military at its southern border with Serbia as part of a crackdown on migrants and human traffickers and blames Germany for the massive influx through its territory.

Prime Minister Viktor Orban said Thursday the Hungarian parliament is pushing through new measures "that will create a new legal situation at the borders, even more strict than it was."

When asked by The Associated Press whether the military will be deployed to defend Hungary's borders, he said: "Yes."

Speaking in Brussels, Orban said the migrant "problem is not a European problem, the problem is a German problem, nobody would like to stay in Hungary."

He said "all of them would like to go to Germany."

More than 160,000 migrants have crossed into Hungary this year.