In 1897, Dr. Martyn Clark brought a case against Mirza Ghulam Ahmad, accusing of him of trying to assassinate him (this was after the Lekhram assassination). This event is referred to in this advertisement from 1897 (Advertisements, Vol 2, p. 468):
A newspaper of the time, the Nazim-ul-Hind (Lahore), of the 4th September 1897, remarks that the dismissal of the case recently instituted against Mirza Ghulam Ahmad of Kadian [sic] is regarded in the light of a great miracle by his followers. They say that the appearance of the Mirza in a court of justice was equivalent to his being crucified, and his acquittal has served to confirm their belief (in his divine mission.) As a matter of fact, the judgment delivered by the District Magistrate of Gurdaspur declares him to be a dangerous man. The Editor observes that, as the Almighty desired that the Mirza should be exposed in his true colours during the current year, several incidents have occurred which go to show that the man is a liar and a calumniator. In the first place, he evaded holding a controversy with the Sheikh of Tehran, and in the next he fell in public estimation by publishing a stupid note in reply to a letter of the Turkish Consul which appeared in the Nazim ul Hind. The recent case has also served to bring him into disrepute, while the libel case which has been instituted against the Nazim will disgrace him completely in the eyes of the public. The reason why the Mirza has fallen in public estimation is that he signed an agreement (ikrar namah) to the effect that he would not publish any succh notices (writing) in future. The public argue that if the Mirza had been commissioned by God, he would have refused to sign such an agreement. Government should not, however, give up all idea of putting an end to the mischievous doings of the Mirza. They should keep a careful watch over his secret conspiracies, and remember that he is dangerous to the Government and the peace of the country.
This is the reference from Mirza's advertisement in December 1899 (Ishtiharat, Vol 3, pp 214-5
Here is the translation, followed by the images from the original decision