On satisfactory showing, in writing, sworn to by the prisoner, made to the court, or to the judge thereof in vacation, supported by the affidavits of two or more credible persons, that, by reason of prejudgment of the case, or grudge or ill will to the defendant in the public mind, he cannot have a fair and impartial trial in the county where the offense is charged to have been committed, the circuit court, or the judge thereof in vacation, may change the venue in any criminal case to a convenient county, upon such terms, as to the costs in the case, as may be proper.