What officer of the state grants a charter to a corporation?

Secretary of State