Two Iranian men were found guilty of spying on journalists and a lawyer in the United Kingdom, in conduct linked to Iran’s intelligence service. Mostafa Sepahvand, 41, and Farhad Javadi Manesh, 46, were convicted at Woolwich Crown Court on Thursday, the BBC reported.

The BBC said the men were convicted of assisting a foreign intelligence service, the charge on which the court found them guilty. The Independent reported that the verdict concerned conduct likely to assist Iran’s intelligence service, describing the case as spying on people in Britain.

The targets included Iran International journalists Mojtaba Pourmohsen and Kambiz Hosseini, as well as Jonathan Turner, a founder member of UK Lawyers for Israel. The BBC said Iran’s Islamic Revolutionary Guard Corps tasked the men with monitoring their targets as part of the activity that led to the convictions.

According to the BBC, Sepahvand intended to carry out a violent attack against at least one target, while Manesh helped with planning. The BBC reported that the men received documents containing photographs of targets, their work addresses, details of their cars and the names of their pets.

The defendants were accused of visiting addresses connected to targets, taking photographs and videos, and researching them through online platforms, the Independent reported. Vicki Evans of Counter-Terrorism Policing said the case was the first state-threat prosecution in which ChatGPT search history had been presented, the BBC reported.

According to BBC, Evans said authorities were beginning to see more use of artificial-intelligence tools as those tools became more widely available and better known. Sepahvand and Manesh were asylum seekers who had been granted temporary leave to remain in the United Kingdom, according to the BBC.

The BBC reported that Sepahvand entered the United Kingdom in a lorry, while Manesh arrived in a small boat. Trial evidence showed that Sepahvand sometimes felt mistreated by Iranian handlers who had not paid him, the BBC reported.

According to BBC, Evans said people doing work for foreign states were often promised money and other rewards, but rarely received what they had been offered. Sepahvand claimed he had spied because he feared consequences for refusing, while prosecutors called that account entirely bogus, the BBC reported.

Crown Prosecution Service prosecutor Frank Ferguson said both men had been promised rewards for sending intelligence to contacts in Iran. A third defendant, Shapoor Qalehali Khani Noori, 57, was cleared of the same charge, the BBC reported.