MINNEAPOLIS (AP) — A psychological examination was ordered Wednesday for a Pakistani physician and former Mayo Clinic researcher accusing of telling paid FBI informants that he pledged allegiance to the Islamic State group and wished to hold out lone wolf assaults within the U.S.

Muhammad Masood has been indicted on one depend of making an attempt to supply materials assist to a international terrorist group. He has been in custody since his March 19 arrest on the Minneapolis-St. Paul Worldwide Airport.

The analysis is supposed to guage Masood’s “competency to face trial and help in his protection,” based on the federal Justice of the Peace choose’s order. Masood’s lawyer has mentioned the defendant doesn’t perceive the court docket proceedings.

Prosecutors say Masood was within the U.S. on a piece visa. They allege in court docket paperwork that from January to March, Masood made a number of statements to paid informants — whom he believed had been members of the Islamic State group — pledging his allegiance to the group and its chief.

Court docket paperwork don’t identify the clinic the place Masood labored. The Mayo Clinic has confirmed that Masood previously labored on the medical heart, however mentioned he was not employed there when he was arrested.