The U.S. Justice Department on Thursday moved to dismiss its case against Michael Flynn, abruptly ending a prosecution in which the onetime Trump national security adviser twice pleaded guilty only to later seek to back out of his admission that he lied to federal agents.

In a court filing, the Justice Department said it has taken the view that Flynn’s statements in a January 2017 interview, in which he was accused of lying about his past communications with Russia’s ambassador to the United States, did not merit a criminal prosecution.