The United States has offered Pakistan $110 million to help people driven from their homes by fighting in the Swat Valley and said it was trying to redress 30 years of "incoherent" US policy towards the nuclear-armed country.
Pakistani soldiers battled Taliban militants in towns in the picturesque valley, which is about 60 miles from the capital, Islamabad, as authorities scrambled to get food to thousands of civilians trapped by the fighting.
The government has said the offensive, launched this month as international alarm grew over an intensifying insurgency, is making progress and every effort would be made to help the more than 1 million people displaced by the conflict.
Militant violence in nuclear-armed Pakistan has surged over the past two years, raising doubts about its stability and alarming the United States, which needs Pakistani action to help defeat al Qaeda and stabilise neighbouring Afghanistan.
Though Pakistani politicians and members of the public broadly back the offensive in the Taliban's Swat bastion, support will quickly evaporate if many civilians are killed or if the displaced languish in misery.
The White House said the United States would provide $100 million in humanitarian aid such as food, tents, radios, generators and other items and that the US Defence Department would give a further $10 million in unspecified assistance.
The United Nations estimates that about 1.4 million people have become homeless since the Swat offensive started in early May on top of some 550,000 people displaced by fighting there and in other regions in the autumn.
"Providing this assistance is not only the right thing to do but we believe it is essential to global security and the security of the United States and we are prepared to do more," US Secretary of State Hillary Clinton told reporters.
Ms Clinton also described the last three decades of US policy towards Pakistan as "incoherent," saying that the United States had worked with Pakistan to arm the Mujahideen fighters who helped drive the Soviet Union from Afghanistan in the 1980s only to effectively abandon both countries.
She said US President Barack Obama wanted to forge a long-term partnership with Pakistan to confront al Qaeda militants who are believed to have fled to northern Pakistan from Afghanistan, where they plotted the September 11 attacks.
"Our policy towards Pakistan over the last 30 years has been incoherent," Clinton said, implicitly criticising the policies of her husband, former US President Bill Clinton. "I mean, I don't know any other word to use."
"We have walked away from Pakistan before with consequences that have not been in the best interests of our security, and we are determined that we are going to forge a partnership with the people of Pakistan and their democratically elected government against extremism," she added.
The Pakistani military said soldiers conducting search operations in the town of Matta clashed with militants, and an officer and a soldier were killed while seven soldiers were wounded.
Troops were also in, or advancing on, the towns of Kanju and Takhtaband, it said.
The government says more than 1,000 militants have been killed in the offensive, while the military says more than 50 soldiers have been killed.
Reuters