KABUL, Afghanistan — President Hamid Karzai said Friday that if he was re-elected president in August he would negotiate a new agreement with foreign nations deploying troops in Afghanistan, to regulate their status and their behavior.
Speaking to 3,000 supporters at a rally in Kabul, Mr. Karzai also said that his top priority was to bring about peace and that he would push ahead with negotiations with the Taliban and other opposition groups, and would devote more effort to law and order and to governance.
His comments were intended to appeal to voters by addressing Afghan complaints about civilian casualties, raids on private homes and the detention of people without charges.
They came as two United States soldiers were killed in an explosion in southern Afghanistan on Friday, adding to the more than 30 American soldiers killed in July, the deadliest month for Americans in Afghanistan. Thousands of Marines have been deployed in the south in an attempt to curb the Taliban insurgency enough to allow elections on Aug. 20.
Visiting the central province of Ghazni on Friday, the United States special envoy for the region, Richard C. Holbrooke, seemed to acknowledge worries that the country’s continuing lack of security would make the voting difficult, as well as complaints from Mr. Karzai’s challengers over the fairness of the campaign.
“Elections here will be imperfect,” Mr. Holbrooke said, according to The Associated Press. “But I am an American who lived through an imperfect election eight years ago. I am not going to hold Afghanistan to standards which even the United States does not achieve.
“What we want is an election that reflects the legitimate will of the Afghan people, and whoever wins, the international community will support,” he said.
Mr. Karzai has done little campaigning so far and pulled out of a television debate on Thursday, saying that he had not yet announced his platform.
But on Friday he addressed the country’s most pressing issues, the continuing fighting and the actions of foreign troops, which have affected his popularity.
“In this fight against terrorism we want our home to be safe, not to be insecure,” he told the gathering. “Our law should be respected, our religion and our culture should be respected.
“It should be known who is the owner of the house and who is the guest,” he said. “We want to legitimize their presence.”
He spoke at the rally after another candidate, Muhammad Said Hashimi, leader of the Harakat-e-Inqilabi Islami party, announced that he was withdrawing from the presidential race in favor of Mr. Karzai. Many of the early members of the Taliban movement were from the party, and some of those gathered spoke with bitterness about the continuing war and about the actions of the foreign forces in Afghanistan. One man said foreign troops should leave and Mr. Karzai should then make peace with the Taliban.
Mr. Karzai said he had tried hard to reach agreements with foreign forces in Afghanistan. “We have seen some steps, but we want to go further,” he said. He promised that any solution would be worked out with tribal and religious leaders in a loya jirga, or grand tribal council.
He also said that he would bring members of the Taliban and Hesbe Islami, another opposition group, to peace negotiations and include them in a tribal council. The United States and the rest of the international community has resisted such plans but were now more supportive of the idea, he said.
Saudi Arabia has agreed to oversee negotiations with the Taliban, and one of the first moves would be to hold a second peace gathering between Afghan and Pakistani tribal elders, he said.