The same hackers who penetrated the Democratic National Committee also succeeded in breaking into the Clinton Foundation, it was disclosed Tuesday.

The news broke just as leaks from the DNC hack — which was disclosed last week — began to appear online.

The perpetrators were said to have “links to the Russian government,” according to Bloomberg News, which first reported that the foundation had been compromised.

“The hackers in fact sought data from at least 4,000 individuals associated with US politics — party aides, advisers, lawyers and foundations — for about seven months,” Bloomberg reported.

US officials have informed both major political parties and the presidential campaigns of Hillary Clinton, Donald Trump and Bernie Sanders that sophisticated hackers were attempting to penetrate their computers.

Clinton Foundation officials did not say which documents and other information had been stolen.

Trump has said that he plans to make a campaign issue of donations, especially from foreign governments, to the Clinton Foundation, and confidential data, e-mails and other materials could aid in that effort if they become public.

The FBI, Secret Service and National Security Agency are investigating.