A quo warranto petition is filed by the solicitor general or a public prosecutor to void the position of a public officer if he or she is found to have usurped office or disqualified from the post, as what they did to ousted chief justice Maria Lourdes Sereno.