The Defense Department is conducting a leaks investigation related to the sex scandal that led to the resignation of former CIA Director David Petraeus, The Associated Press confirmed Monday, the same day Petraeus was meeting with President-elect Donald Trump in New York.

Petraeus, who could be in line for a Cabinet nomination, arrived at Trump Tower in early afternoon. He walked in without taking any questions from reporters.

A U.S. official told the AP that investigators are trying to determine who leaked personal information about Paula Broadwell, the woman whose affair with Petraeus led to criminal charges against him and his resignation. The information concerned the status of her security clearance, said the official, who was not authorized to discuss an ongoing investigation by name and spoke on condition of anonymity.

Disclosure of the Broadwell information without official permission would have been a violation of federal criminal law.