President Donald Trump's former national security adviser pleaded guilty to one count of unlawfully retaining national security information.