Also, Pakistan is seen by many in Afghanistan as wanting to keep the Taliban as possible leverage against influence in Afghanistan by its long-time enemy India, which has been critical of any post-war government in Afghanistan that would include the Taliban.
However, many Afghans still view Pakistan with deep mistrust, blaming it for the resurgence of the Taliban and for giving the insurgents a safe haven from which to operate.
"Prior to the press conference, the two leaders held a meeting in which they discussed ways to further deepening the fraternal bilateral relations between Pakistan and Afghanistan, the Afghan peace process, and regional economic development and connectivity", said the state-run Associated Press of Pakistan.
He said Pakistan played a consistent role in intra-Afghan dialogue and noticed with concern the increasing level of violence despite the Qatar peace deal inked between the United States and Taliban in Doha, Qatar this February. "My own conscience will never allow me to do this, I can never accept it", Khan said at the time, adding that if Pakistan made peace with Israel, "we will have to give up Kashmir as well then".
Ashraf Ghani acknowledged that Imran came to Kabul with an "important message to help end violence".
"A comprehensive political settlement for enduring peace within the framework of our values and constitution in the Islamic Republic [of Afghanistan] is the way to the future", he said.
With PM Imran Khan's visit, Ghani said a "foundation of trust was established" to continue the journey towards sustainable peace.
The Afghan President mentioned that during his meeting with Imran, the two sides agreed that respect for Prophet Muhammad (PBUH) was in the hearts and minds of every Muslim and stressed that the world must differentiate between the "negative comments" from "freedom of expression". The Pentagon now says some 2,500 troops will leave by January, just days before President-elect Joe Biden's inauguration, leaving another 2,000 or so US forces in place.
In September 2019, Middle East Eye reported Imran Khan saying that "Pakistan has a very straightforward position".
"I am pleased that you have invited me to this historic city of Kabul", the PM said, thanking President Ghani.
Earlier, PM Imran was accorded a warm welcome upon his arrival at the Presidential Palace on his first official visit to the neighbouring country.
The Prime Minister reviewed the guard of honour presented by a contingent of Afghan forces.
The prime minister's delegation will comprise the Foreign Minister Shah Mehmood Qureshi, Adviser for Commerce and Investment Abdul Razak Dawood, and other senior officials.
Khan also answered questions regarding how he expected his relationship would be with Democrat presidential challenger Joe Biden if he is to be inaugurated president in January.