New York — A New York City man with an unknown illness has been identified by police as the person who hacked into the computers of several major banks and other financial institutions, including Bank of America and Wells Fargo.

The Associated Press obtained a copy of a police report Friday detailing a search warrant affidavit obtained from the Manhattan District Attorney’s Office that says a 28-year-old man has been charged with two counts of computer hacking.

The man is also charged with possessing a weapon during a crime, and a charge of unlawful possession of a weapon by a convicted felon, the warrant states.

The warrants do not name the bank.

The warrants were obtained Friday from the New York Police Department’s Criminal Intelligence Bureau, according to a spokesman.

He declined to comment on the specific charges.

The FBI has been working with the New Jersey Department of Health to identify the person or persons who accessed the banking systems of at least one of the banks, the FBI said in a statement.

The FBI did not say how long the bank had been compromised.

In the affidavit, investigators describe how they obtained a device called a kallox that allows them to access information on a computer system.

They say the device could have been used to take over an account, steal financial data or even hack into a bank’s computer system and steal passwords and other sensitive information.

The affidavit describes the device as a Bluetooth keyboard with an embedded microphone.