; (iv) traveled from Afghanistan to Pakistan or Iran, or from Pakistan or Iran to Afghanistan; (v) continued to have ties to any Taliban leaders or members located in Pakistan; or (vi) continued to work with the Haqqani Network; (E) any of the prisoners released by the Government of Afghanistan as a result of the February 29, 2020, agreement between the United States and Taliban— (i) are members of, or have ties to, any covered terrorist organizations or any other organization designated by the United States as a foreign terrorist organization pursuant to section 219 of the Immigration and Nationality Act ( 8 U.S.C. 1189 ) and, if so, the names of such former prisoners and the reasons for their detention inside Afghanistan; or (ii) are suspected of taking part in attacks against American service members or civilians or attacks that caused American casualties and, if so, the names of the prisoners, the date and location of such attacks, and the number of American casualties attributed to such attacks; (F) any of the prisoners the Taliban has requested for release, but who have not yet been released as of the date of the enactment of this Act, are members of, or have ties to, any covered terrorist organizations or any other organization designated by the United States as a foreign terrorist organization pursuant to section 219 of the Immigration and Nationality Act ( 8 U.S.C. 1189 ) and, if so, the names of the prisoners and the organizations to which they are affiliated