President Donald Trump said Saturday that a new breach of an FBI database could have a positive side, possibly revealing voter fraud. He made the remarks in an interview with Fox News.

Trump confirmed in the interview that a system used by law enforcement at all levels to share criminal justice information had been breached.

Two people familiar with the matter told MS NOW that hackers accessed the National Criminal Information Center (NCIC). The database includes FBI fingerprint records, wanted persons, violent felons, missing persons and related information. It is restricted to law enforcement use but is not classified. The sources said it is unclear what data was extracted. CNN first reported the suspected hack, citing its own sources.

Trump said, "Maybe we'll learn about the voter fraud, all the voter fraud that took place." He also said, "I wonder who's doing it, because wouldn't it be great to learn about Russia, Russia, Russia?" He added, "People should hear about it, because it actually put our country in danger, and so maybe we'll learn things that we wouldn't have learned otherwise."

This is the second recent intrusion into FBI systems. In September, a group known as "ShinyHunters" broke into an FBI jobs website. That breach compromised data on current and former FBI employees and shut down part of the agency's operations until the issue was resolved.

The FBI did not immediately respond to a request for comment.