When any person holding any office or place under the authority of this state is convicted by any court of the United States, of this state or of any other state of a felony, his office or place shall be vacated from the time of the conviction. If the judgment is reversed, new trial granted or judgment notwithstanding the verdict is rendered, he shall be restored to office; but, if pardoned, he shall not be restored to office.