Flynn had pleaded guilty in 2017 to lying to the FBI.