This is an archived article that was published on sltrib.com in 2013, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Kabul • Eager to overcome a bout of bickering, U.S. Secretary of State John Kerry and Afghan President Hamid Karzai made a show of unusual unity between their two nations on Monday. The friendly display came as the U.S. military ceded control of its last detention facility in Afghanistan, ending a long-standing irritant in relations.

Kerry arrived in the Afghan capital of Kabul on an unannounced visit amid concerns that Karzai may be jeopardizing progress in the war against extremism with anti-American rhetoric. After a private meeting, Kerry said he and Karzai were "on the same page" on security and reconciliation issues and brushed aside suggestions that relations were in peril.

Karzai infuriated U.S. officials earlier this month by accusing Washington of colluding with Taliban insurgents to keep Afghanistan weak even as the Obama administration pressed ahead with plans to hand off security responsibility to Afghan forces and end NATO's combat mission by the end of next year.

At a joint news conference after their talks, Karzai told reporters that his comments in a nationally televised speech had been misinterpreted by the media. Kerry demurred on that point but said people sometimes say things in public that reflect ideas they have heard from others but don't necessarily agree with.

"I am confident the president [Karzai] does not believe the U.S. has any interest except to see the Taliban come to the table to make peace and that we are completely cooperative with the government of Afghanistan with respect to the protection of their efforts and their people," Kerry said. He noted that he had specifically raised the comment in question with Karzai and was satisfied with the response.

"We're on the same page," Kerry said. "I don't think there is any disagreement between us and I am very, very comfortable with the president's explanation."

For his part, Karzai said that he had been trying to make the point in his speech that if the Taliban really wanted foreign troops out of Afghanistan they should stop killing people.

In the March 9 speech, he berated the Taliban for deadly bombings in Kabul and the city of Khost that he said "showed that they are at the service of America and at the service of this phrase: 2014," — the withdrawal date set for most international forces.

Karzai suggested in the speech that the U.S. and the Taliban were working together "trying to frighten us into thinking that if the foreigners are not in Afghanistan, we would be facing these sorts of incidents."

Standing beside Kerry on Monday, Karzai said "today was a very good day," citing the turnover of the detention facility at the U.S.-run Bagram military base north of Kabul. He also expressed gratitude for the sacrifices made for his country by Americans.

At the same time, he defended allegations he has made about American troops or their local contractors abusing Afghan civilians. He said his complaints and criticism were not meant to "offend" anyone but rather to protect his people.

"When I say something publicly, it is not meant to offend our allies but to correct the situation," he said. "I am responsible for the protection of the Afghan people. I am the president of this country. It is my job to provide all the protection I can to the people of this country."

Karzai has ordered U.S. special operations forces out of Wardak province, just outside Kabul, because of allegations that Afghans working with the commandos were involved in abusive behavior.

Kerry and Karzai's news conference came near the beginning of Kerry's 24-hour visit to the country — his sixth since President Barack Obama took office but his first as Obama's secretary of state. Kerry referred frequently to U.S. respect for Afghan sovereignty and he said the handover of the detention facility was testament to that.

As Kerry flew to Kabul, the U.S. military ceded control of the Parwan detention facility near Bagram, a year after the two sides initially agreed on the transfer. Karzai had demanded control of Parwan as a matter of national sovereignty.

The long-running dispute over the center had thrown a pall over ongoing negotiations for a bilateral security agreement to govern the presence of U.S. forces in Afghanistan after 2014.

An initial agreement to hand over Parwan was signed a year ago, but efforts to follow through on it constantly stumbled over American concerns that the Afghan government would release prisoners that it considered dangerous. An initial deadline for the full handover passed last September; another passed earlier this month.

The U.S. concerns are not without foundation. Zakir Qayyum, a former Guantanamo detainee, was released into Afghan custody in 2007. Freed four months later, he rejoined the Taliban and reportedly has risen to become the No. 2 leader in the Taliban.

Both Kerry and Karzai lauded the transfer of the facility. Karzai said an Afghan review board would carefully consider any intelligence provided by the U.S. or others about detainees they deem to be too dangerous to free.

The pair also called on the Taliban to take advantage of the offer to open a political office in Doha, Qatar, from where they could engage in reconciliation talks with the Afghan Peace Council and potentially negotiate an end to hostilities.

Kerry said the Taliban should not ignore the opportunity because the United States is committed to Afghanistan's security beyond 2014 and will not allow gains made over the past decade to be lost. He noted that Obama has not yet decided how many U.S. troops should stay after next year and that the Taliban should not count on a complete American withdrawal.

There are about 100,000 coalition troops in Afghanistan, including about 66,000 from the United States. Although there is no decision on a residual force, U.S. officials have said as many as 12,000 U.S. and coalition forces could remain.

Karzai said that peace talks with the Taliban would require the involvement of Pakistan because any Afghan peace process without that country was doomed to failure. Pakistan, particularly its intelligence service, has close ties to members of the Taliban.

Kerry, who arrived in Kabul from Amman, Jordan, had hoped to travel to Pakistan on this trip to the region but put it off due to elections there.

Instead, he met late Sunday in Amman with Pakistani army chief for Gen. Ashfaq Parvez Kayani, U.S. officials said.

Kerry and Kayani had a private dinner at the residence of the U.S. ambassador to Jordan as Pakistan continued to seethe in the aftermath of the return of former president Pervez Musharraf, himself a former army chief, from exile.

In Kabul, Kerry planned to meet again Tuesday with Karzai.He also had meetings scheduled with civic leaders and others to discuss continued U.S. assistance to the country and how to wean it from such aid as the international military operation winds down. Upcoming national elections also were on his agenda.

Kerry praised what he said was Afghanistan's commitment to "safe, secure" and transparent elections next year that will see a successor to Karzai voted into power.