High Court in South Africa has dismissed the findings of an anti-corruption watchdog that said President Cyril Ramaphosa had deliberately misled parliament over a campaign donation.

Last year the public protector said Ramaphosa should be investigated over a 36,000 dollars donation he had received from a local company during his campaign to become the leader of the governing party.

She also said he should be investigated for possible money laundering.

In a ruling that will be a significant boost for the president, the High Court found that her findings were “irrational and unlawful” and that Ramaphosa did not need to disclose his campaign funding in parliament.

Her critics say she had been deliberately seeking to undermine the president’s war against high-level corruption.