A French national has been found guilty of spying on the military in Azerbaijan and sentenced to 10 years in a maximum security prison, state media report. Martin Ryan was accused in December 2023 of spying on behalf of Paris and collecting secret information about Baku's military co-operation with Turkey and Pakistan. He was also accused of helping recruit French-speaking Azerbaijanis to cooperate with French intelligence. Both France and Ryan have repeatedly denied the spying allegations. Ryan was put on trial alongside an Azerbaijani citizen, Azad Mamedli, who was sentenced to 12 years for treason, AFP news agency reports. France previously described Ryan's detention as 'arbitrary' and demanded his immediate release. During his trial, prosecutors alleged he had cooperated with employees of France's security services allegedly operating from the French embassy in Baku. Prosecutors said Ryan had gathered information about Azerbaijan's relations with Turkey, Iran, and Pakistan, as well as companies linked to Russia and China. Furthermore, Ryan was accused of recruiting Mamedli and arranging for him to meet French intelligence agents. In Ryan's final statement to the court, he denied spying and stated that he had acted unknowingly. Ryan said, 'I consider myself guilty only in that I should not have established contacts with some embassy employees.' France has argued that Ryan was caught in the cross-fire of diplomatic tensions. Relations between the two countries have soured in recent years, with Azerbaijan accusing France of supporting its rival, Armenia.