text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_3 (category VARCHAR, president VARCHAR, year VARCHAR)
  ### Question:
  What was the category of Richard Nixon as President in a year prior to 2009?
  ### Answer:
  SELECT category FROM table_name_3 WHERE president = "richard nixon" AND year < 2009