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_82 (first_elected VARCHAR, party VARCHAR)
  ### Question:
  Who was the first elected for the republican party?
  ### Answer:
  SELECT first_elected FROM table_name_82 WHERE party = "republican"