The writ of Quo warranto can be issued when an appointment is made contrary to the statutory provisions. It is used to question a person’s right to hold a public office. This writ demands that the individual provide proof of their legal right to hold the office in question.