WASHINGTON, July 22 (Reuters) - Pakistan's Prime Minister Imran Khan is set to meet with U.S. President Donald Trump at the White House on Monday amid strained relations between the two nations as Islamabad seeks foreign investment and the United States wants help on ending the war in Afghanistan and fighting militants.
The United States views Pakistan's cooperation with a deal to end the 17-year-old war as essential but the two countries have a complicated relationship.
Trump wants to wrap up U.S. military involvement in Afghanistan and sees Pakistan's cooperation as crucial to any deal to end the war and ensure the country does not become a base for militant groups like Islamic State.
Washington wants Islamabad to pressure Afghanistan's Taliban into a permanent ceasefire and participation in talks with the Afghan government.
Trump last year slashed millions of dollars of security assistance to Islamabad, which it accused of serving as a safe haven for militants. Pakistan has denied the accusations.
Authorities in Pakistan last week arrested Hafiz Saeed, the alleged mastermind of a 2008 militant attack on the Indian city of Mumbai who has been designated a terrorist by the United States and the United Nations. More than 160 people were killed in the four-day siege.
But Pakistan has not released Shakil Afridi, the jailed doctor believed to have helped the CIA track down former al Qaeda leader Osama bin Laden, whose organization was responsible for the Sept. 11, 2001, attacks on the United States.
Khan's meeting with Trump is expected to start at noon (1700 GMT). Battling to stave off a balance of payments crisis and forced to seek a bailout from the International Monetary Fund, Pakistan is badly in need of foreign investment but security is likely to be the main focus of the visit.
India, which in February came close to war with Pakistan over the disputed region of Kashmir and which accuses Islamabad of supporting militants, will be watching the talks closely.
The Pentagon said Pakistan's army chief, General Qamar Javed Bajwa, will meet later on Monday with the top American military officer, chairman of the U.S. Joint Chiefs of Staff General Joseph Dunford.
Analysts believe Bajwa will play a key role in behind-the-scenes discussions in which much of the serious business of the visit will take place, with the military looking to persuade Washington to restore aid and cooperation.
(Additional reporting by Idrees Ali; Writing by Makini Brice; Editing by Will Dunham)
Our Standards: The Thomson Reuters Trust Principles.