In the end the bridge crew uses science and technology not only to prove Riker's innocence in regard to the alleged murder, but show that the scientist killed himself trying to murder Riker. In addition, it is demonstrated he defrauded the Federation, receiving resources when the goal of the research had already been completed. This is a reason given for attempting to kill Riker; he is concerned that Riker has figured out his scam and wants to keep it from being exposed. The charges for murder are dropped and there is no further trial for an attempted sexual assault.