Under a deal with the U.S. attorney’s office, Sklyarov agreed to be deposed and must testify in the trial of ElcomSoft Co. Ltd., which remains under indictment. Until then, he is free to return to Russia.

“With this agreement, Dmitry gets everything he could get from an acquittal and more,” defense attorney John Keker said.