Wilde, egged on by Douglas and against the advice of his friends, initiated a private prosecution against Queensberry, and had him arrested on a charge of criminal libel. As sodomy was then a crime, Queensberry's note amounted to a public accusation that Wilde had committed a felony, forming the legal basis for libel charges. Queensberry could avoid conviction for libel only by demonstrating that his accusation was, in fact, true.