WASHINGTON, DC - Pakistan's Prime Minister Imran Khan who has arrived in the U.S. for a meeting with President Donald Trump, said Sunday he could see no military solution to Afghanistan.

He said when he meets with Mr Trump he will pass on that view.

The Pakistani premier was addressing a crowd of 30,000 Pakistani-Americans who had assembled to welcome him to the U.S. at the Capital One Arena.

"I was called Taliban Khan. But Allah is Al-Haq. The whole world says what I used to say years ago; there is no military solution to Afghanistan. I will put forth the same case in front of Donald Trump tomorrow," Khan said.

Imran Khan has previously had an association with the Taliban and was one of its supporters during their rule following the Soviet departure after their disastrous war in the 1980s.

The prime minister is due to meet President Trump on Monday. He will be accompanied by General Qamar Javed Bajwa, the Pakistan Army chief, and Lieutenant General Faiz Hameed, the head of the Pakistani Inter-Services Intelligence (ISI) agency.

Afghanistan has become bogged down with war since the U.S.-led invasion in 2001.

Pakistan, on Afghanistan's border has been drawn into the conflict and has long advocated for a diplomatic solution.

"Pakistan will continue to support the Afghan peace process for regional stability," Foreign Minister Shah Mahmood Qureshi said Sunday.

"You go anywhere in the world, see China's communist party and you see how they reward merit and let the best of the best come up. The beauty of democracy is merit," he said.