The United States has revoked the visa of the International Criminal Court's chief prosecutor because of her attempts to investigate allegations of war crimes in Afghanistan, including any that may have been committed by American forces. Ms. Bensouda, a Gambian lawyer for the court, which is based in The Hague, formally requested an investigation more than a year ago into war crimes in Afghanistan. The inquiry would mostly focus on large-scale crimes against civilians attributed to the Taliban and Afghan government forces. But it would also examine alleged C.I.A. and American military abuse in detention centers in Afghanistan in 2003 and 2004, and at sites in Poland, Lithuania and Romania, putting the court directly at odds with the United States. The United States is not a member state of the I.C.C. and does not recognize the court's authority to prosecute Americans. In the past, though, the United States has cooperated with the court on other investigations, and Washington played a central role in establishing international criminal law at the Nuremberg trials. [Secretary of State Mike] Pompeo, in a March news briefing in Washington, said investigators should not assume that you will still have or will get a visa, or that you will be permitted to enter the United States" if they are part of a I.C.C. investigation. "These visa restrictions will not be the end of our efforts," Mr. Pompeo said at the time. "We are prepared to take additional steps, including economic sanctions if the I.C.C. does not change its course."