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_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
  ### Question:
  What is the First elected that has a republican party and california 4?
  ### Answer:
  SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"