A Russian national has been arrested in Palo Alto, California, on charges of acting as an agent of a foreign government, interstate stalking, and fraud related to identity documents. Prosecutors say the suspect, Igor D'iu, was recruited through the Telegram app and directed to gather information about a company supplying weapons used against Russia in Ukraine.

The BBC understands the targeted company was Palantir Technologies. The charging documents do not name the company. They describe it as a publicly traded technology and defence firm that produces software used by Ukraine in its war with Russia. Palantir has not issued a statement.

Prosecutors allege that D'iu bought computers, phones, wireless networking equipment and remote access software. They say he photographed the laptop screens of employees at a coffee shop near the company's Palo Alto offices. His handlers allegedly told him to position a laptop near the company so they could access it remotely.

Prosecutors also say D'iu followed employees' vehicles, including one senior executive's car for nearly 30 miles on 3 September. A search of his home in October allegedly turned up a notebook with employees' home addresses and information about their family members. Officials also found falsified identity documents, including a US passport, and two Russian passports.

US Attorney Craig Missakian said: "We will not tolerate any efforts - by foreign governments or otherwise - to turn Silicon Valley into a base for foreign intelligence operations."

A source in the industry, who did not want to be named, said the operation did not penetrate the company's private systems. The source also said the company has been "targeted extensively" by Russia and that the attacks are becoming "increasingly aggressive."

D'iu has been held in jail since 2 November. It is unclear whether he has a lawyer. He faces more than 15 years in prison if convicted.