The purpose of Quo Warranto is to prevent illegal usurpation of public office by a person.