The feds busted a Defense Intelligence Agency worker Wednesday for allegedly leaking top secret information to two journalists — one of whom he was shacking up with.

Henry Kyle Frese, 30, a counterintelligence analyst from Alexandria, Virginia, who had a top-secret security clearance, was indicted Tuesday on two counts of willful transmission of national defense information to persons not entitled to receive it.

“Frese was caught red-handed disclosing sensitive national-security information for personal gain,” said John C. Demers, assistant attorney general for national security, who cited as the motivation for the probe ex-Attorney General Jeff Sessions’ vow to pursue leakers.

Court documents allege that between mid-April and early May 2018, Frese took classified intelligence reports — some of which were unrelated to his job duties — and gave top-secret information about a foreign country’s weapons systems to an unnamed journalist.

The feds would not reveal any details about the weapons or the country involved.

Frese and the journalist had the same residential address for a year starting in August 2017 and, based on Frese’s social media pages, “it appears that they were involved in a romantic relationship for some or all of that period of time,” the feds said in a statement.

The release of the unspecified secrets could be “expected to cause exceptionally grave harm to the national security of the United States,” they said, adding that foreign countries could use the information against their rivals, possibly placing US lives at risk.

The journalist gal pal then allegedly asked Frese if he would be willing to help another reporter, a colleague of hers.

The names of the journalists and the news organizations they worked for were not revealed.

“Frese stated that he was ‘down’ to help Journalist 2 if it helped Journalist 1 because he wanted to see Journalist 1 ‘progress,’” the feds allege.

The first journalist asked Frese for certain information for articles she was writing for an unnamed outlet, and she published at least eight articles that were allegedly based on classified information.

The second journalist also published articles based on the intel.

G. Zachary Terwilliger, the US attorney for the Eastern District in Virginia where the case will be prosecuted, slammed Frese.

“Frese allegedly violated … the oath he swore to uphold, and is charged with engaging in dastardly and felonious conduct at the expense of our country,” Terwilliger said.

If convicted, Frese faces a maximum penalty of 10 years in prison on each count.

The feds would not say during a conference call whether the two journalists would be prosecuted, or even confirm if they worked for American news organizations.

It was unclear when Frese will appear in federal court in Virginia.