Updated

U.S. Defense Secretary James Mattis arrived on a surprise visit to Afghanistan's war-shattered capital on Friday, the U.S. command in Afghanistan said, just days after a suicide bomber killed 21 people in the city and wounded 90 others.

As helicopters patrolled the skies over Kabul, Mattis arrived accompanied by Gen. Joseph Dunford, chairman of the joint chiefs of staff. He was expected to meet President Ashraf Ghani, presidential spokesman Mohammad Haroon Chakhansuri told The Associated Press. He was also expected to meet Afghan, U.S. and NATO military commanders.

Mattis' arrival comes amid brutal assaults against the country's minority Shiites and a fresh round of insider attacks this week that have claimed the life of one American service member and eight local police.

While in Kabul, Mattis is expected to discuss the escalating violence against both civilians and military personnel.

The U.S. has been supporting Afghan forces in an aggressive campaign against Islamic State group insurgents in eastern Nangarhar province, yet the IS affiliate has repeatedly been able to carry out horrific and brazen attacks in the heavily fortified capital of Kabul.

The victims have most often been Afghanistan's minority Shiite Muslims. The radical Sunni Islamic state reviles Shiites as apostates.

On Wednesday, a suicide bomber blew himself up at a wrestling center killing 21 people and wounding 90 others. Two of the dead were journalists who died when a second bomber blew himself up as first responders and journalists rushed to the scene.

Mattis' visit to Kabul comes as Washington seems to be ramping up efforts for a negotiated end to Afghanistan's protracted war and Washington's longest military engagement.

U.S. Secretary of State Mike Pompeo announced this week the appointment of Zalmay Khalilzad as Washington's new point man for Afghan reconciliation. Khalilzad, a controversial figure in the region, is a former envoy to Afghanistan.

Mattis arrives in Afghanistan fresh off earlier meetings in Pakistan where Pompeo said the U.S. wanted to "reset" its raucous relationship with Pakistan and newly elected Prime Minister Imran Khan expressed optimism, promising to work with Washington for peace. But Khan has repeatedly said Pakistan is no longer interested in partnering with the United States in war.

"This is my promise — that Pakistan will never again fight someone else's war," Khan said on Thursday in a speech to mark Pakistan's Defense Day. As an opposition leader Khan was a sharp critic of Pakistan's participation in the U.S.-led war on terror.

Still, Pakistan is seen as key to any negotiated end to the Afghan war because of its close relationship with the Taliban. Both Washington and Kabul have been harsh critics of Pakistan for allowing safe havens for Taliban fighters on its territory, a charge Islamabad has denied.

Khalilzad's appointment was also unwelcome news in Pakistan because of his outspoken attacks on its military and powerful ISI intelligence agency, even suggesting Washington should declare Pakistan a state sponsor of terrorism.

Washington last weekend announced it canceled a $300 million Coalition Support Fund payment to Pakistan, which is a payment for costs incurred by Pakistan's military in the war on terror.

____

Gannon reported from Islamabad, Pakistan. Associated Press writer Munir Ahmed in Islamabad contributed.