human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: State (class), Vacator, Reason for change, Successor, Date of successors formal installation
###Question: What are all the states (class) when the reason for change was resigned November 26, 1798 and the vacator was John Hunter ( DR )?
gpt
SELECT State (class) FROM table WHERE Reason for change = Resigned November 26, 1798 AND Vacator = John Hunter ( DR )