On Saturday, Hungarian Prime Minister Viktor Orban said Donald Trump has proposed security policies that Europe should listen to in order to solve a security crisis he blames on uncontrolled immigration.

Orban is an outspoken politician and has taken a tough stance on Europe’s migrant crisis and called for a razor wire fence to be built along Hungary’s southern border.

While speaking at a university in Baile Tusnad, Romania, Orban tied increased security threats to the increased migration in the country. He then cited Trump’s proposals to combat terrorism that he made at the Republican National Convention

Trump’s speech on Thursday outlined an increased intelligence effort to end a “failed policy of nation-building and regime change” and restrictions on immigration from states “compromised by terrorism.”

In a televised speech Orban said, “I am not a Donald Trump campaigner.” “I never thought I would ever entertain the thought that, of the open options, he (Trump) would be better for Europe and for Hungary.”

“But I listened to the candidate and I must tell you he made three proposals to combat terrorism. And as a European I could have hardly articulated better what Europe needs.”

Orban has accused the EU of weakness in dealing with the threat posed by more than a million migrants who arrived in Europe last year, and the hundreds of thousands following them this year.

Orban said that Europe too needs to create a network of national intelligence agencies that ranks with the world’s best, after hearing Trump’s proposal to create “the best intelligence-gathering organization in the world,”

He then made at statement directed at his EU colleagues.

“The second thing, said this valiant American presidential candidate, is to abandon the policy of exporting democracy. I could not have said it more precisely.”

Orban said Western countries have acted recklessly to remove the undemocratic regimes in Libya, Syria and Iraq which has left these countries unstable and has exposed Europe to the mass wave of migration it is seeing today.

He then went on to say instead of supporting the regimes that try to control the civil-war-torn countries in North Africa and the Middle East, Europe has criticized these countries for their democratic shortfalls.

“If we keep prioritising democracy over stability in regions where we are unlikely to succeed with that, we will create instability, not democracy.”