Donald Trump, who used Huma Abedin’s separation from husband Anthony Weiner as a prompt to question Hillary Clinton’s judgment, donated to the disgraced former congressman multiple times.

Trump gave a total of $4,300 in 2007 and 2010 to Weiner’s congressional runs, and $150 to a city council race in 1997.

Abedin, a top aide to Clinton, announced Monday that she was separating from Weiner after he was once again caught sending sexually explicit pictures to women. Trump praised Abedin’s decision.

“Huma is making a very wise decision. I know Anthony Weiner well, and she will be far better off without him,” Trump said in a statement. “I only worry for the country in that Hillary Clinton was careless and negligent in allowing Weiner to have such close proximity to highly classified information. Who knows what he learned and who he told? It’s just another example of Hillary Clinton’s bad judgment. It is possible that our country and its security have been greatly compromised by this.”