Pakistan closed routes used to supply NATO-led forces in Afghanistan, after a NATO air strike into Pakistani territory in November killed 24 Pakistani troops. Islamabad wants a formal apology from the United States and has pushed for an end to drone strikes on its soil.
"It is in the interest of Pakistan for a stable, peaceful, prosperous, independent, sovereign Afghanistan," Gilani said as he met with Obama. "We want stability in Afghanistan."
"If there is a stability in Afghanistan it's a stability in Pakistan, and peace for Afghanistan and Pakistan," the prime minister said. "We want to work together with you to have all the peace, prosperity and progress of the whole world."
Speaking to reporters after those talks, Obama's Deputy National Security Advisor for Strategic Communications, Ben Rhodes, hinted at the same conditions for Pakistan's presence in Chicago.
"The President and Prime Minister also agreed that as cooperation on our shared interest increases, the United States would welcome the potential participation of Pakistan in the ISAF summit in Chicago in May," he said.
More popular Yahoo! News stories:
Want more of our best political stories? Visit The Ticket or connect with us on Facebook, follow us on Twitter or add us on Tumblr. Handy with a camera? Join our Election 2012 Flickr group to submit your photos of the campaign in action.