US Secretary of State Mike Pompeo met Pakistani Prime Minister Imran Khan in Islamabad on Wednesday, in the first high-level US visit to the new government, looking to reset relations strained over the war in Afghanistan.
Tensions between the uneasy allies rose ahead of Wednesday's visit when the Pentagon confirmed it had made a final decision to cancel $300 million in military aid to Pakistan.
After greeting Khan in the capital Islamabad, Pompeo said he was "very pleased" with his earlier meeting with Pakistani Foreign Minister Shah Mehmood Qureshi.
Khan, a cricket legend who swept to power in the July elections, said he was hopeful about resetting relations.
"I'm a born optimist. A sportsman always is an optimist. He steps on the field and he thinks he's going to win," Khan told reporters.
Pompeo is due next to visit India, Pakistan's neighbour and bitter foe, where he is expected to pile pressure on New Delhi over its purchases of Iranian oil and Russian missile systems.
With Pakistan's Khan taking office in August, Pompeo said on the way to the nuclear-armed nation that he wanted "to get out there at the beginning of his time in an effort to reset the relationship."
On the plane from the United States, Pompeo told reporters: "There are a lot of challenges between our two nations for sure but we're hopeful that with the new leadership that we can find common ground and we can begin to work on some of our shared problems together."
Pompeo was also expected to meet Pakistan's army chief, Qamar Javed Bajwa, before flying out on Wednesday afternoon.
The meetings come against a backdrop of tense ties and US military aid cuts over Islamabad's alleged reluctance to crack down on militants sheltering on its territory.
Washington has accused Islamabad of turning a blind eye to, or helping, Afghan Taliban and Haqqani network militants who stage attacks in Afghanistan. Pakistan denies doing so.
Pompeo landed in Islamabad minutes after the plane carrying US Marine General Joseph Dunford, chairman of the Joint Chiefs of Staff.
Ahead of the talks, Dunford said US President Donald Trump's South Asia strategy set clear expectations for Pakistan, including help to drive the Taliban to a peace process in neighbouring Afghanistan.
"Our bilateral relationship moving forward is very much going to be informed by the degree of cooperation we see from Pakistan in doing that," Dunford told reporters.
The United States has withheld $800 million in overall assistance this year, cuts Pakistan says are unwarranted as it incurs expenses in fighting militants who pose a danger to US troops in Afghanistan.
Pompeo is also expected to discuss Pakistan's possible plans to seek a bailout from the International Monetary Fund (IMF) to ease currency pressures and avert an economic crisis.
In July, Pompeo said there was "no rationale" for the IMF to give money to Pakistan that would then be used to pay off Chinese loans, comments that further rattled Islamabad.
Pompeo and US Defence Secretary Jim Mattis will meet their Indian counterparts in the capital, New Delhi, on Thursday, and are expected to finalise defence pacts that could bring their militaries closer amid China's rising influence.
The talks come as US hostility rises towards India's traditional allies Iran and Russia, on which Washington has placed sanctions. Iran is a big oil supplier to India, and two-thirds of its military equipment is from Russia.
"They're part of the conversation, they're part of the relationship, they will certainly come up, but I don't think they will be the primary focus of what it is we're trying to accomplish here," Pompeo told US pool reporters en route to Pakistan.
The United States is concerned about India's planned purchase of S-400 surface-to-air missile systems from Russia.
An Indian defence ministry official said the country had nearly concluded commercial negotiations with Russia for the systems and intends to proceed with them, to boost defences against China.
On Iran, India has said it will not completely halt oil imports from the Middle Eastern country, but would finalise its strategy on crude purchases after this week's meeting.